DefaultAngleHandleDrawFunction(int, Vector3, Quaternion, float, EventType)
A Handles.CapFunction that draws a line terminated with Handles.CylinderHandleCap.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
public static void DefaultAngleHandleDrawFunction(int controlID, Vector3 position, Quaternion rotation, float size, EventType eventType)
Parameters
The control ID for the handle.
The position of the handle in the space of Handles.matrix.
The rotation of the handle in the space of Handles.matrix.
The size of the handle in the space of Handles.matrix. Use HandleUtility.GetHandleSize if you want a constant screen-space size.
Event type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events.
Remarks
This method is the default value assigned to ArcHandle.angleHandleDrawFunction for new ArcHandle instances, and is not intended to be called on its own.