編輯

共用方式為


MathUtilities.ScaleFromAngularSizeAndDistance(Single, Single) Method

Definition

Retrieve angular measurement describing how large a sphere or circle appears from a given point of view. Takes an angle (at given point of view) and a distance and returns the actual diameter of the object.

public:
 static float ScaleFromAngularSizeAndDistance(float angle, float distance);
public static float ScaleFromAngularSizeAndDistance (float angle, float distance);
static member ScaleFromAngularSizeAndDistance : single * single -> single
Public Shared Function ScaleFromAngularSizeAndDistance (angle As Single, distance As Single) As Single

Parameters

angle
Single
distance
Single

Returns

Applies to