bool InvertOrbitZoom { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The InvertOrbitZoom property in the Editor.EditorPreferences class determines whether the zoom direction of the orbit camera is inverted. This setting affects how the camera zooms in and out when using the mouse.

  • Inverted: Moving the mouse up or to the left will zoom in, while moving it down or to the right will zoom out.
  • Standard: Moving the mouse down or to the right will zoom in, while moving it up or to the left will zoom out.

Usage

To use the InvertOrbitZoom property, simply access it through the Editor.EditorPreferences class. This property is static, so you do not need to instantiate the class to modify or read its value.

Example usage:

// Enable inverted orbit zoom
Editor.EditorPreferences.InvertOrbitZoom = true;

// Check if orbit zoom is inverted
bool isInverted = Editor.EditorPreferences.InvertOrbitZoom;

Example

// Enable inverted orbit zoom
Editor.EditorPreferences.InvertOrbitZoom = true;

// Check if orbit zoom is inverted
bool isInverted = Editor.EditorPreferences.InvertOrbitZoom;