Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

PivotManager

class in UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Manages pivot mode, rotation, and other configurable settings of editor pivots.

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.

Events

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