IsValidText3D: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|IsValidText3D(text3d)}} {{FuncParameters}} {{FuncParam|text3d|__EDIT_ME__}} {{FuncReturnValue|__E..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Client & Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Check if the text 3d is valid or not.}}


{{FuncSyntax|IsValidText3D(text3d)}}
{{FuncSyntax|IsValidText3D(text3d)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|text3d|__EDIT_ME__}}
{{FuncParam|text3d|The text 3d identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
if IsValidText3D(text3d) then
    DestroyText3D(text3d)
end
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:Text3DFunctions}}

Latest revision as of 13:57, 10 November 2021

IsValidText3D

Type: Function
Context: Client & Server
Introduced: v1.0

Description

Check if the text 3d is valid or not.

Syntax

IsValidText3D(text3d)

Parameters

  • text3d
    The text 3d identifier.

Return Value

  • Returns true on success.

Example

if IsValidText3D(text3d) then
    DestroyText3D(text3d)
end

See also