Documentation

Unity Engine

Unity Engine

GetInspectorRotation(Transform)

Returns the rotation of a transform as it is shown in the Transform Inspector window.
Read time 1 minuteLast updated 2 months 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.