PrivateconstructorThis property can't be read in early-execution mode.
ReadonlydimensionThe 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.
ReadonlyhasThis property can't be read in early-execution mode.
ReadonlylocationThe 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.
OptionaltimeThe time left (in seconds) until this shape is automatically removed. Returns undefined if the shape does not have a limited life-span.
This property can't be read in early-execution mode.
Optional ReadonlytotalThe total initial time-span (in seconds) until this shape is automatically removed. Returns undefined 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.
The base class for all debug shapes. Represents an object in the world and its base properties.