Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PivotManager

Manages pivot mode, rotation, and other configurable settings of editor pivots.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static class PivotManager

Static Properties

Property

Description

defaultPivotModeTypeThe type of the default built-in pivot mode used during initialization and as a fallback when no other mode is set or valid.
defaultPivotRotationTypeThe type of the default built-in pivot rotation type used during initialization and as a fallback when no other rotation is set or valid.

Static Methods

Method

Description

GetActivePivotModeGets the currently active pivot mode.
GetActivePivotRotationGets the currently active pivot rotation.
SetActivePivotModeSets the active pivot mode to the specified type.
SetActivePivotRotationSets the active pivot rotation to the specified type.

Static Events

Member

Description

activePivotModeChangedRaised when the active pivot mode changes.
activePivotRotationChangedRaised when the active pivot rotation changes.