TransformUtils
Editor Transform Utility Class.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor
public static class TransformUtils
Static Methods
Method | Description |
|---|---|
| GetConstrainProportions | Returns Constrain Proportions toggle value as it is shown in the Transform Inspector window. |
| GetInspectorRotation | Returns the rotation of a transform as it is shown in the Transform Inspector window. |
| SetConstrainProportions | Sets Constrain Proportions as it would be set in the Transform Inspector window. |
| SetInspectorRotation | Sets the rotation of a transform as it would be set by the Transform Inspector window. |