|
InstancedTextSetOrientation(Vector3D, Vector3D) 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.
If you know the text normal or text size, then it is faster to call the
SetOrientation(Vector3D, Vector3D, Vector3D, Double).
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public void SetOrientation(
Vector3D textDirection,
Vector3D upDirection
)
Parameters
- textDirection Vector3D
- the X direction of the text (direction in which the text is written)
- upDirection Vector3D
- the up (Y) direction of the text
See Also