Class CameraModeViewportInteraction

Mode used for switching between different camera movement types.

Hierarchy (view full)

Constructors

Properties

_cameraWorldPostionOnEngagementStart: Immutable<Vector3>
_cursorMoveDeltaDuringEngagement: number

The absolute move delta during engagement.

_isEngaging: boolean

Determines if the camera was moved while the pointer was held down.

hideCursorWhenEngaged: boolean

Determines if the cursor should be hidden when the user engages with the interaction.

viewportRenderer: UIViewportRenderer

The viewport this interaction controls.

Accessors

  • get isAvailable(): boolean
  • Virtual

    Determines if the interaction is available.

    Returns boolean

    If the interaction is not available, no events will be forwarded to it. This property allows interactions to determines if all the dependencies are availble for it to execute.

  • get viewportCamera(): ViewportCamera
  • The ViewportCamera the interaction controls.

    Returns ViewportCamera

Methods