Lens Scripting API
    Preparing search index...
    Index

    Constructors

    Properties

    pivotingInteractor: Interactor = null

    Accessors

    • get axisBufferDegrees(): vec3

      Returns vec3

    • set axisBufferDegrees(bufferDegrees: vec3): void

      Parameters

      Returns void

    • get axisEasing(): vec3

      Returns vec3

    • set axisEasing(easing: vec3): void

      Parameters

      Returns void

    Methods

    • Resets the pivot point to billboard the target about its own origin. Recommended to use after finishing some spatial interaction that sets the pivotPoint of this component manually.

      Returns void

    • Returns void

    • Set the pivot point and pivoting Interactor to control the Billboard's pivot axis. To turn off pivoting about a point, reset the pivot point to vec3.zero()

      Parameters

      • pivotPoint: vec3

        the pivot point to billboard the target about in local space.

      • interactor: Interactor

        the pivoting Interactor.

      Returns void