GetHandleSize(Vector3)
Get world space size of a manipulator handle at given position.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static float GetHandleSize(Vector3 position)
Parameters
The position of the handle in 3d space.
Returns
Type | Description |
|---|---|
| float | A constant screen-size for the handle, based on the distance between from the supplied handle's position to the camera. |
Remarks
Uses the current camera to calculate suitable size.