MathUtilities.ScaleFromAngularSizeAndDistance(Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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