Lens Scripting API

    ViewModel for the InteractorCursor that uses a StateMachine to keep track of cursor updates & state changes.

    Index

    Constructors

    • Parameters

      • enableCursorHolding: boolean
      • enableFilter: boolean
      • Optional_interactor: Interactor

      Returns CursorViewModel

    Properties

    onCursorUpdate: PublicApi<CursorViewState> = ...
    onStateChange: PublicApi<CursorState> = ...
    positionOverride: vec3 = null

    Accessors

    Methods

    MMNEPVFCICPMFPCPTTAAATR