 |
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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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