Handles.TransformHandle

Cambiar al Manual
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);
public static void TransformHandle (ref Vector3 position, ref Quaternion rotation);

Parámetros

positionPosition of the handle.
rotationOrientation of the handle.
scaleScale value to modify.
uniformScaleUniform scale value to modify.

Descripción

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.