PhysicsEngineRenderPoint Method |
Creates a renderable point and adds it to the render list.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic void RenderPoint(
Vector3 position,
Color color,
int size,
bool persistent = false,
string key = ""
)
Parameters
- position
- Type: Microsoft.DirectXVector3
The world-space position for the point. - color
- Type: System.DrawingColor
The color for the point. - size
- Type: SystemInt32
The size of the point. - persistent (Optional)
- Type: SystemBoolean
Whether the line is cleared only before a timestep. - key (Optional)
- Type: SystemString
The key that identifies categories of points.
See Also