Class TransformUtils
Inherited Members
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public static class TransformUtils
Methods
| Improve this Doc View SourceGetInspectorRotation(Transform)
Declaration
public static Vector3 GetInspectorRotation(Transform t)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | t |
Returns
| Type | Description |
|---|---|
| Vector3 |
SetInspectorRotation(Transform, Vector3)
Declaration
public static void SetInspectorRotation(Transform t, Vector3 r)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | t | |
| Vector3 | r |