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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.InstancedText.SetOrientation(System.Numerics.Vector3,System.Numerics.Vector3)"]

See Also