Struct Text
Draws 3D text in the world.
Note that only basic ASCII characters plus a few extras are supported to keep the
font atlas size to a minimum, though the character set can be customized if
necessary - see DOC LINK HERE
public struct Text
- Extension Methods
Fields
align
Controls how the text is positioned relative to its origin.
public TextAlign align
Field Value
color
defaultAlign
facing
position
size
Properties
OutlineColor
Change the outline color for all text.
Only applicable when RenderStyle is set to
Outline.
public static Color OutlineColor { get; set; }
Property Value
OutlineWidth
Change the outline width for all text. Limited to the range (0..4).
Only applicable when RenderStyle is set to
Outline.
public static float OutlineWidth { get; set; }
Property Value
RenderStyle
ShadowColor
Change the shadow color for all text.
Only applicable when RenderStyle is set to
DropShadow.
public static Color ShadowColor { get; set; }
Property Value
ShadowOffset
Change the shadow offset for all text. Limited to the range (-2..2).
Only applicable when RenderStyle is set to
DropShadow.
public static float2 ShadowOffset { get; set; }
Property Value
ShadowWidth
Change the shadow width for all text. Limited to the range (0..2).
Only applicable when RenderStyle is set to
DropShadow.
public static float ShadowWidth { get; set; }