Method DrawCapsule
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
DrawCapsule(Vector3, Vector3, float, DebugColor, float)
Draws a capsule between two points.
void DrawCapsule(Vector3 p1, Vector3 p2, float radius, DebugColor color, float alpha)Parameters
p1Vector3-
The centre of one end cap, in world space.
p2Vector3-
The centre of the other end cap, in world space.
radiusfloat-
The radius.
colorDebugColor-
The suggested colour.
alphafloat-
The suggested opacity, 0 to 1.