The bounding box of the shape. The final box will be this bound multiplied by the shape's scale.
This property can't be read in early-execution mode.
This property can't be read in early-execution mode.
Readonly
dimensionThe dimension the shape is visible within. If the dimension is undefined, it will display in all dimensions.
This property can't be read in early-execution mode.
Readonly
hasThis property can't be read in early-execution mode.
Readonly
locationThe location of the shape. For most shapes the location is the centre of the shape, except DebugLine and DebugArrow where this represents the start point of the line.
This property can't be read in early-execution mode.
This property can't be read in early-execution mode.
This property can't be read in early-execution mode.
Optional
timeThe time left (in seconds) until this shape is automatically removed. Returns 0 if the shape does not have a limited life-span.
This property can't be read in early-execution mode.
Optional
Readonly
totalThe total initial time-span (in seconds) until this shape is automatically removed. Returns 0 if the shape does not have a limited life-span.
This property can't be read in early-execution mode.
Removes this shape from the world. The shape can be re-added via the DebugDrawer's addShape method.
This function can't be called in early-execution mode.
Set the location and dimension of the shape. If the dimension is undefined, it will display in all dimensions. For most shapes the location is the centre of the shape, except DebugLine and DebugArrow where this represents the start point of the line.
This function can't be called in early-execution mode.
A debug shape class that represents a box or cuboid.