Protected
constructorThe font used for rendering text.
The color used for the outline effect.
The strength of the outline effect.
The color used for dropshadow.
The horizontal and vertical offset used for dropshadow.
The font size being used.
The text being rendered.
The color for rendering text.
If enabled, adds a dropshadow to the text.
If enabled, renders an outline around the text.
Returns the texture's aspect ratio, which is calculated as width / height.
Returns the height of the texture in pixels.
Returns the name of this object's type.
Returns the width of the texture in pixels.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Controls a text rendering texture. Can be accessed through the main rendering pass on a Text component. The properties here mirror those on Text.
Example