TransformHandle
Creates a transform handle.
Read time 3 minutesLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
TransformHandle(Vector3, Quaternion, Vector3)
Creates a transform handle.
public static void TransformHandle(ref Vector3 position, ref Quaternion rotation, ref Vector3 scale)
Parameters
Position of the handle.
The orientation of the handle in 3D space.
Scale value to modify.
Remarks
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.
TransformHandle(Vector3, Quaternion, Vector3)
Creates a transform handle.
public static void TransformHandle(ref Vector3 position, Quaternion rotation, ref Vector3 scale)
Parameters
Position of the handle.
The orientation of the handle in 3D space.
Scale value to modify.
Remarks
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.
TransformHandle(Vector3, Quaternion, Vector3)
Creates a transform handle.
public static void TransformHandle(Vector3 position, ref Quaternion rotation, ref Vector3 scale)
Parameters
Position of the handle.
The orientation of the handle in 3D space.
Scale value to modify.
Remarks
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.
TransformHandle(Vector3, Quaternion, float)
Creates a transform handle.
public static void TransformHandle(ref Vector3 position, ref Quaternion rotation, ref float uniformScale)
Parameters
Position of the handle.
The orientation of the handle in 3D space.
Uniform scale value to modify.
Remarks
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.
TransformHandle(Vector3, Quaternion, float)
Creates a transform handle.
public static void TransformHandle(ref Vector3 position, Quaternion rotation, ref float uniformScale)
Parameters
Position of the handle.
The orientation of the handle in 3D space.
Uniform scale value to modify.
Remarks
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.
TransformHandle(Vector3, Quaternion, float)
Creates a transform handle.
public static void TransformHandle(Vector3 position, ref Quaternion rotation, ref float uniformScale)
Parameters
Position of the handle.
The orientation of the handle in 3D space.
Uniform scale value to modify.
Remarks
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.
TransformHandle(Vector3, Quaternion)
Creates a transform handle.
public static void TransformHandle(ref Vector3 position, ref Quaternion rotation)
Parameters
Remarks
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.