 |
InstancedTextSetOrientation Method |
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.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void SetOrientation(
Vector3 textDirection,
Vector3 upDirection
)
Parameters
- textDirection Vector3
- the X direction of the text (direction in which the text is written)
- upDirection Vector3
- the up (Y) direction of the text
See Also