Table of Contents

Method DrawBox

Namespace
Box3D
Assembly
Box3D.NET.dll

DrawBox(Vector3, Vector3, Quaternion, DebugColor)

Draws an oriented box.

void DrawBox(Vector3 extents, Vector3 position, Quaternion rotation, DebugColor color)

Parameters

extents Vector3

The half-extents along each local axis.

position Vector3

The centre, in world space.

rotation Quaternion

The orientation.

color DebugColor

The suggested colour.