Open Dev Kit Documentation :: Game :: Label
Game.LabelLabel object in the game world or interface, used for displaying text
Properties
- Text Localized String
- text of the label
- Font Font Parameters
- font parameters for rendering the text
- Text Color Top Color HDR
- text's top color of the label
- Text Color Bottom Color HDR
- text's bottom color of the label
- Shadow Color Color HDR
- shadow color of the label
- Shadow Distance Float
- shadow's distance from the text in units relative to the font's height
- Line Spacing Float
- spacing factor between individual lines
- Character Spacing Float
- spacing factor between individual characters; also known as kerning
- Wrap Width Float
- width of text-wrapping
- Extrusion Depth Float
- extrusion depth of the text in local units (0 = flat fast path with legacy rendering; small values around 0.00001 = lit two-sided outline mesh with no walls; larger values = full 3D extrusion with outline-following side walls, lit via Parameters.Material, casts 3D shadows)
- Text Dimensions 2D Vector
- label's text dimensions factoring line spacing, character spacing and word-wrapping
- Parameters Hologram Parameters
- additional parameters for the label
If you think anything is missing, please feel free to: submit documentation feedback on this page
