# DefaultAngleHandleDrawFunction(int, Vector3, Quaternion, float, EventType)

> A Handles.CapFunction that draws a line terminated with Handles.CylinderHandleCap.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.3/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor

```csharp
public static void DefaultAngleHandleDrawFunction(int controlID, Vector3 position, Quaternion rotation, float size, EventType eventType)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The control ID for the handle.**** (\[Vector3]\(/engine/6000.3/script-reference/unityengine/vector3)): The position of the handle in the space of [Handles.matrix](/engine/6000.3/script-reference/unityeditor/handles/matrix.md).**** (\[Quaternion]\(/engine/6000.3/script-reference/unityengine/quaternion)): The rotation of the handle in the space of [Handles.matrix](/engine/6000.3/script-reference/unityeditor/handles/matrix.md).**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The size of the handle in the space of [Handles.matrix](/engine/6000.3/script-reference/unityeditor/handles/matrix.md). Use HandleUtility.GetHandleSize if you want a constant screen-space size.**** (\[EventType]\(/engine/6000.3/script-reference/unityengine/eventtype)): Event type for the handle to act upon. By design it handles [EventType.Layout](/engine/6000.3/script-reference/unityengine/eventtype/layout.md) and [EventType.Repaint](/engine/6000.3/script-reference/unityengine/eventtype/repaint.md) events.

### Remarks

This method is the default value assigned to [ArcHandle.angleHandleDrawFunction](/engine/6000.3/script-reference/unityeditor/imgui/controls/archandle/anglehandledrawfunction.md) for new [ArcHandle](/engine/6000.3/script-reference/unityeditor/imgui/controls/archandle.md) instances, and is not intended to be called on its own.
