Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetActivePivotRotation

Sets the active pivot rotation to the specified type.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetActivePivotRotation<T>()

Sets the active pivot rotation to the specified type.
public static void SetActivePivotRotation<T>() where T : CustomPivotRotation

SetActivePivotRotation(Type)

Sets the active pivot rotation to the specified type.
public static void SetActivePivotRotation(Type pivotRotationType)

Parameters

pivotRotationType

The type of the pivot rotation to set as active.