Constructors

Properties

_enabled: boolean = false
frame: ContainerFrame = ...
interactorCursor: InteractorCursor = null
lastMode: CursorMode = ...
lockMode: boolean = false
lockPosition: vec3 = ...
margin: number = ...
mode: CursorMode = CursorMode.Auto

mode is used to select the current active texture updated in ContainerFrame update loop to match the FrameInputController state

parentTransform: Transform = ...
target: SceneObject = ...
targetTransform: Transform = ...

Accessors

  • set position(pos: vec3): void

    sets current position of cursor ignored if cursor is in lockMode

    Parameters

    Returns void

Methods

  • Reset the position override & mode of the interactor cursor.

    Returns void

  • update

    Parameters

    • inputState: InputState
    • frameState: FrameState

      method called in main loop watches for changed CursorModes to swap textures updates position and triggers animations

    Returns void

MMNEPVFCICPMFPCPTTAAATR