Click or drag to resize

PhysicsEngineRenderLabel Method (String, Color, Vector3, Boolean)

Creates a label and adds it to the render list.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public void RenderLabel(
	string text,
	Color color,
	Vector3 position,
	bool persistent = false
)

Parameters

text
Type: SystemString
The text for the label.
color
Type: System.DrawingColor
The text color for the label.
position
Type: Microsoft.DirectXVector3
The world-space position for the label.
persistent (Optional)
Type: SystemBoolean
Whether the label is cleared only before a timestep.
See Also