GetAllText3D: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetAllText3D()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Example =..." |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get all text 3D on the server. Useful for loops.}} | ||
{{FuncSyntax|GetAllText3D()}} | {{FuncSyntax|GetAllText3D()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns a table of all text 3D.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
function destroyAll3DTexts() | |||
for index, text in ipairs(GetAllText3D()) do | |||
DestroyText3D(text) | |||
end | |||
end | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Text3DFunctions}} |
Latest revision as of 14:03, 10 November 2021
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
- GetText3DCount
- GetAllText3D
- CreateText3D
- DestroyText3D
- IsValidText3D
- SetText3DAttached
- SetText3DDetached
- SetText3DDimension
- GetText3DDimension
- SetText3DPropertyValue
- GetText3DPropertyValue
- SetText3DText
- GetText3DText
- SetText3DLocation
- GetText3DLocation
- IsText3DStreamedIn
- GetStreamedText3D
- GetText3DActor