ドキュメント

Unity Engine

Unity Engine

GetInspectorRotation(Transform)

Returns the rotation of a transform as it is shown in the Transform Inspector window.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.