Handles.TransformHandle
public static void TransformHandle(ref Vector3 position,
ref Quaternion rotation,
ref Vector3 scale);
public static void TransformHandle(ref Vector3 position,
ref Quaternion rotation,
ref float uniformScale);
Parameters
| position | Position of the handle. | |
| rotation | Orientation of the handle. | |
| scale | Scale value to modify. | |
| uniformScale | Uniform scale value to modify. |
Description 描述
Creates a transform handle.
This handle behaves like the built-in transform tool in Unity, with the option to display all scale handles, only the non-uniform scale handle, or no scale handles. Different signature variants will only display controls handles for arguments that have the ref modifier, allowing you to opt in to only those control handles you require.