Instanced |
The InstancedText type exposes the following members.
Name | Description | |
---|---|---|
ChangeColor | Changes the color of the text. | |
ChangeText | Changes the text of this InstancedText to the new text. | |
GetTextSize | GetTextSize calculates the size of the text from the WorldMatrix (from the length of the X axis). This method uses Math.Sqrt to get the size so it is not very fast. | |
Hide | Hides the text | |
Move | Moves the text for the specified moveVector | |
SetOrientation(Vector3D, Vector3D) | Sets the Orientation of the text by providing the text direction and up direction (directions are normalized inside the method). This method calculates the normalDirection from the textDirection and upDirection. The text size is calculated from the existing WorldMatrix. If you know the text normal or text size, then it is faster to call the SetOrientation(Vector3D, Vector3D, Vector3D, Double). | |
SetOrientation(Vector3D, Vector3D, Vector3D, Double) | Sets the Orientation of the text by providing the orientation vectors and size of the text. All Vector3D values must be normalized. | |
SetWorldMatrix(Matrix3D) | Sets the WorldMatrix of this text. | |
SetWorldMatrix(Matrix3D) | Sets the WorldMatrix of this text. | |
Show | Shows the text |