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

    Base for creating new brush shapes

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get displayName(): string

      Returns string

    • get icon(): string

      Returns string

    • get id(): string

      Returns string

    Methods

    • Parameters

      • Optional_cancelToken: { cancelled: boolean }
      • Optional_yieldInterval: number

      Returns Promise<RelativeVolumeListBlockVolume>

      Promise that resolves to the shape positions as Vector3 array.

      Asynchronously creates the shape, yielding control periodically to avoid timeouts. Use this for large shapes where createShape() may timeout.

      This function can't be called in early-execution mode.

    • Returns number

      Estimated block count

      Returns a mathematical estimate of the number of blocks in the shape. Used for UI display and validation before shape creation.

      This function can't be called in early-execution mode.