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 viewportCamera(): ViewportCamera
  • The ViewportCamera the interaction controls.

    Returns ViewportCamera

Methods