bool HideRotateCursor { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The HideRotateCursor property is a static boolean property within the Editor.EditorPreferences class. It determines whether the eye cursor should be hidden when rotating the scene camera in the editor. This can be useful for users who prefer a cleaner interface while manipulating the scene view.

Usage

To use the HideRotateCursor property, simply access it through the Editor.EditorPreferences class. You can set it to true to hide the cursor during rotation, or false to keep the cursor visible.

Example

// Example of setting the HideRotateCursor property
Editor.EditorPreferences.HideRotateCursor = true;

// Check if the cursor is hidden during rotation
bool isCursorHidden = Editor.EditorPreferences.HideRotateCursor;
if (isCursorHidden)
{
    // Perform actions when the cursor is hidden
}