Lens Scripting API
    Preparing search index...

    Computes a boundary by adding a buffer around another boundariesProvider

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    initialBuffer: Rect

    The amount of buffer to apply

    The BoundariesProvider to buffer

    Accessors

    • get boundaries(): Rect

      The boundaries as a Rect.

      Returns Rect

    • get buffer(): Rect

      Get the amount of buffer being applied

      Returns Rect

    • set buffer(newBuffer: Rect): void

      Set the amount of buffer being applied

      Parameters

      • newBuffer: Rect

        The new value

      Returns void

    • get size(): vec2

      Returns vec2

      the size of the rectangle boundaries as (width, height).