SetText3DDimension: Difference between revisions
From Onset Developer Wiki
No edit summary |
Completed the page |
||
Line 11: | Line 11: | ||
{{FuncParam|dimension|The new dimension to set.}} | {{FuncParam|dimension|The new dimension to set.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang='Lua'> | |||
local text3d = CreateText3D("Only visible in Dimension 10", 12, -199349, -39353, 1021, 0.0, 0.0, 0.0) | |||
SetText3DDimension(text3d, 10) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:Text3DFunctions}} | {{Template:Text3DFunctions}} |
Latest revision as of 14:36, 21 February 2020
Description
Sets the dimension of this text3d. Players can only see 3D texts in the same dimension.
- Default dimension: 0
- Maximum dimension: 4294967295
Syntax
SetText3DDimension(text3d, dimension)
Parameters
- text3d
The text3d identifier. - dimension
The new dimension to set.
Return Value
- This function returns true on success.
Example
local text3d = CreateText3D("Only visible in Dimension 10", 12, -199349, -39353, 1021, 0.0, 0.0, 0.0)
SetText3DDimension(text3d, 10)
See also
- GetText3DCount
- GetAllText3D
- CreateText3D
- DestroyText3D
- IsValidText3D
- SetText3DAttached
- SetText3DDetached
- SetText3DDimension
- GetText3DDimension
- SetText3DPropertyValue
- GetText3DPropertyValue
- SetText3DText
- GetText3DText
- SetText3DLocation
- GetText3DLocation
- IsText3DStreamedIn
- GetStreamedText3D
- GetText3DActor