Click or drag to resize
Ab4d.SharpEngine logo

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.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public 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