ArcHandle.DefaultAngleHandleDrawFunction

Cambiar al Manual
public static void DefaultAngleHandleDrawFunction (int controlID, Vector3 position, Quaternion rotation, float size, EventType eventType);

Parámetros

controlIDThe control ID for the handle.
positionThe position of the handle in the space of Handles.matrix.
rotationThe rotation of the handle in the space of Handles.matrix.
sizeThe size of the handle in the space of Handles.matrix. Use HandleUtility.GetHandleSize if you want a constant screen-space size.
eventTypeEvent type for the handle to act upon. By design it handles EventType.Layout and EventType.Repaint events.

Descripción

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

This method is the default value assigned to angleHandleDrawFunction for new ArcHandle instances, and is not intended to be called on its own.