Class ViewportCameraNavigationSettings

The ViewportCameraNavigationSettings contain settings used for controlling ViewportCamera movement.

Hierarchy (view full)

Constructors

Properties

acceleration: number
dollyAcceleration: number
dollySpeed: number
fastModeMultiplier: number
invertMouse: boolean
moveSpeed: number
orbitSpeedX: number
orbitSpeedY: number
panSpeed: number
rotationalSpeed: number

Accessors

  • get isGlobal(): boolean
  • Determines if the settings instance is the global settings that require saving to the UserProjectSettings.

    Returns boolean

Methods

  • Marks the settings as dirty and invokes the onDirty event handler.

    Returns void

    This method should be invoked after making a change, so subsystems such as a viewport cna be updated. If the settings are the shared editor settings, the editor settings will be marked for autosave.

Events

Invoked when the settings changed.

This is an internal event. Do not subscribe directly to it, use UserProjectSettings.onSettingsChanged.