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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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