Version: 2022.3

ArcHandle.DefaultAngleHandleDrawFunction

切换到手册
public static void DefaultAngleHandleDrawFunction (int controlID, Vector3 position, Quaternion rotation, float size, EventType eventType);

参数

controlID 手柄的控件 ID。
position Handles.matrix 空间中手柄的位置。
rotation Handles.matrix 空间中手柄的旋转。
size Handles.matrix 空间中手柄的尺寸。如果您想要一个恒定的屏幕空间尺寸,请使用 HandleUtility.GetHandleSize。
eventType 要操作的手柄的事件类型。它经过设计用于处理 EventType.LayoutEventType.Repaint 事件。

描述

可绘制一条以 Handles.CylinderHandleCap 终止的线的 CapFunction

此方法是针对新 ArcHandle 实例分配给 angleHandleDrawFunction 的默认值,并非用于单独调用。


Did you find this page useful? Please give it a rating: