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

Constructors

  • Parameters

    • enableCursorSnapping: boolean
    • enableFilter: boolean
    • Optional_interactor: Interactor

    Returns CursorViewModel

Properties

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

Accessors

Methods

  • Parameters

    Returns void