Table of Contents

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

p1 Vector3

The centre of one end cap, in world space.

p2 Vector3

The centre of the other end cap, in world space.

radius float

The radius.

color DebugColor

The suggested colour.

alpha float

The suggested opacity, 0 to 1.