GetHandleSize(Vector3)
Get world space size of a manipulator handle at given position.
읽는 시간 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.