Click or drag to resize
DigitalRuneDebugRendererDrawText Method (String, Vector3F, Vector2F, Color, Boolean)
Draws a text on a 3D position in world space.

Namespace: DigitalRune.Graphics.Rendering
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public void DrawText(
	string text,
	Vector3F position,
	Vector2F relativeOrigin,
	Color color,
	bool drawOverScene
)

Parameters

text
Type: SystemString
The text.
position
Type: DigitalRune.Mathematics.AlgebraVector3F
The position in world space.
relativeOrigin
Type: DigitalRune.Mathematics.AlgebraVector2F
The relative origin of the text. (0, 0) means that the upper-left corner of the text is at position; (1, 1) means that the lower-right corner of the text is at position. Use (0.5, 0.5) to center the text.
color
Type: Color
The color.
drawOverScene
Type: SystemBoolean
If set to the object is drawn over the graphics scene (depth-test disabled).
See Also