public static DistanceToArc ( Vector3 center, Vector3 normal, Vector3 from, float angle, float radius ) : float | ||
center | Vector3 | |
normal | Vector3 | |
from | Vector3 | |
angle | float | |
radius | float | |
return | float |
Pixel distance from mouse pointer to a 3D section of a disc.
public static DistanceToArc ( Vector3 center, Vector3 normal, Vector3 from, float angle, float radius ) : float | ||
center | Vector3 | |
normal | Vector3 | |
from | Vector3 | |
angle | float | |
radius | float | |
return | float |