Version: 2020.1
언어: 한국어
public static float DistanceToArc (Vector3 center, Vector3 normal, Vector3 from, float angle, float radius);

설명

Pixel distance from mouse pointer to a 3D section of a disc.

Calculates the screen space distance from the mouse pointer to the disc section at given world space position with the given radius and normal. The disc section is defined by from vector and the angle in degrees.

Uses the current camera to determine the distance.

See Also: DistanceToDisc, DistanceToCircle.