DefaultAngleHandleSizeFunction(Vector3)
A Handles.SizeFunction that returns a fixed screen-space size.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
public static float DefaultAngleHandleSizeFunction(Vector3 position)
Parameters
The current position of the handle in the space of Handles.matrix.
Returns
Type | Description |
|---|---|
| float | The size to use for a handle at the specified position. |
Remarks
This method is the default value assigned to ArcHandle.angleHandleSizeFunction for new ArcHandle instances, and is not intended to be called on its own.