Script API - v1.21.120.21
    Preparing search index...

    The length of the arrow's head/tip.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    color: RGB

    The color of the shape.

    This property can't be read in early-execution mode.

    endLocation: Vector3

    The end location of the line segment. The final line will spawn between location and endLocation.

    This property can't be read in early-execution mode.

    hasDuration: boolean

    Returns true if the shape has a limited time span before being removed.

    This property can't be read in early-execution mode.

    headLength: number

    Adds a new debug shape to the world.

    This property can't be read in early-execution mode.

    headRadius: number

    The radius of the arrow's head/tip.

    This property can't be read in early-execution mode.

    headSegments: number

    The number of segments for the base circle of the arrow's head/tip (default: 4).

    This property can't be read in early-execution mode.

    location: Vector3

    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.

    This property can't be read in early-execution mode.

    rotation: Vector3

    The rotation of the shape (Euler angles - [Pitch, Yaw, Roll]).

    This property can't be read in early-execution mode.

    scale: number

    The scale of the shape. This does not apply to DebugLine or DebugArrow.

    This property can't be read in early-execution mode.

    timeLeft?: number

    The 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.

    totalTimeLeft?: number

    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.

    This property can't be read in early-execution mode.

    Methods

    • Returns void

      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.