Creates new 3-dimensional text object.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XTextMeshSprite AddText( float x, float y, float z, string text, Font font, float deviation, Color color ) |
Parameters
- x
- Type: System..::.Single
The X coordinate of the object.
- y
- Type: System..::.Single
The Y coordinate of the object.
- z
- Type: System..::.Single
The Z coordinate of the object.
- text
- Type: System..::.String
String used to create the object.
- font
- Type: System.Drawing..::.Font
The Font font type.
- deviation
- Type: System..::.Single
Text deviation.
- color
- Type: System.Drawing..::.Color
Color Color of the primitive.