Click or drag to resize
Ab4d.SharpEngine logo

InstancedTextNodeSetTextDirection Method

Sets the direction and orientation of the text that is added by AddText(String, Color4, Vector3, Single, Boolean). By default, the textDirection is set to (1, 0, 0) and upDirection is set to (0, 1, 0)

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public void SetTextDirection(
	Vector3 textDirection,
	Vector3 upDirection
)

Parameters

textDirection  Vector3
text direction vector
upDirection  Vector3
Vector3D that is pointing in the text's up direction.
See Also