Click or drag to resize
AB4D logo

InstancedTextSetOrientation(Vector3D, Vector3D, Vector3D, Double) Method

Sets the Orientation of the text by providing the orientation vectors and size of the text. All Vector3D values must be normalized.

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public void SetOrientation(
	ref Vector3D textDirection,
	ref Vector3D upDirection,
	ref Vector3D normalDirection,
	double textSize
)

Parameters

textDirection  Vector3D
the normalized X direction of the text (direction in which the text is written)
upDirection  Vector3D
the normalized up (Y) direction of the text
normalDirection  Vector3D
the normalized direction of the text's plane normal vector (perpendicular to textDirection and upDirection)
textSize  Double
size of the text
See Also