HandleUtility.DistanceToDisc 到圆距离

static function DistanceToDisc (center : Vector3, normal : Vector3, radius : float) : float

Description描述

Pixel distance from mouse pointer to a 3D disc.

从鼠标指针到3D圆的像素距离。

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

计算屏幕空间从鼠标指针到在给定世界空间位置和带有半径参数圆的距离。

Uses the current camera to determine the distance.

使用当前相机来确定距离。

参见:DistanceToCircle.

Page last updated: 2011-7-10