文档

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.