GetHandleSize(Vector3)
Get world space size of a manipulator handle at given position.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.