Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetInspectorRotation(Transform)

Returns the rotation of a transform as it is shown in the Transform Inspector window.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Vector3 GetInspectorRotation(Transform t)

Parameters

Transform to get the rotation from.

Returns

Type

Description

Vector3Rotation as it is shown in the Transform Inspector window.