TransformUtils
Editor Transform Utility Class.
阅读时间1 分钟最后更新于 1 个月前
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. |