Returns true if the shape has a limited time span before
being removed.
Betalocation
location:Vector3
Remarks
The location of the shape. For most shapes this is the
centre of the shape, except DebugLine and DebugArrow where
this represents the start point of the line.
Betarotation
rotation:Vector3
Remarks
The rotation of the shape (Euler angles - [Pitch, Yaw,
Roll]).
Betascale
scale:number
Remarks
The scale of the shape. This does not apply to DebugLine or
DebugArrow.
OptionalBetatimeLeft
timeLeft?:number
Remarks
The time left (in seconds) until this shape is automatically
removed. Returns 0 if the shape does not have a limited
life-span.
OptionalReadonlyBetatotalTimeLeft
totalTimeLeft?:number
Remarks
The total initial time-span (in seconds) until this shape is
automatically removed. Returns 0 if the shape does not have
a limited life-span.
Methods
remove
remove():void
Beta
Returns void
Remarks
Removes this shape from the world. The shape can be re-added
via the DebugDrawer's addShape method.
A debug shape class that represents a sphere.