GetAllText3D: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
function destroyAll3DTexts()
    for index, text in ipairs(GetAllText3D()) do
        DestroyText3D(text)
    end
end
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Text3DFunctions}}

Latest revision as of 14:03, 10 November 2021

GetAllText3D

Type: Function
Context: Server
Introduced: v1.0

Description

Get all text 3D on the server. Useful for loops.

Syntax

GetAllText3D()

Parameters

  • This function has no parameters.

Return Value

  • Returns a table of all text 3D.

Example

function destroyAll3DTexts()
    for index, text in ipairs(GetAllText3D()) do 
        DestroyText3D(text)
    end
end

See also