RSX Code Reference
    Preparing search index...

    Class CameraModeViewportInteraction

    Mode used for switching between different camera movement types.

    Hierarchy (View Summary)

    Index
    _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.

    • 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