Version: 2020.2
言語: 日本語
public static float DistanceToDisc (Vector3 center, Vector3 normal, float radius);

説明

Returns the distance in pixels from the mouse pointer to a 3D disc.

Calculates the screen space distance from the mouse pointer to the disc (circle) at given world space position with the given radius and normal.

現在のカメラが距離を決定するのに使います。

See Also: DistanceToCircle.