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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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