EyeTrackingDemoUtils.VisAngleInDegreesToMeters 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.
Overloads
VisAngleInDegreesToMeters(Single, Single) |
Computes the metric size (in meters) for a given visual angle size. |
VisAngleInDegreesToMeters(Vector3, Single) |
Returns the metric size in meters of a given Vector3 in visual angle in degrees and a given viewing distance in meters. |
VisAngleInDegreesToMeters(Single, Single)
Computes the metric size (in meters) for a given visual angle size.
public:
static float VisAngleInDegreesToMeters(float visAngleInDegrees, float distInMeters);
public static float VisAngleInDegreesToMeters (float visAngleInDegrees, float distInMeters);
static member VisAngleInDegreesToMeters : single * single -> single
Public Shared Function VisAngleInDegreesToMeters (visAngleInDegrees As Single, distInMeters As Single) As Single
Parameters
- visAngleInDegrees
- Single
In degrees.
- distInMeters
- Single
In meters.
Returns
Applies to
VisAngleInDegreesToMeters(Vector3, Single)
Returns the metric size in meters of a given Vector3 in visual angle in degrees and a given viewing distance in meters.
public:
static UnityEngine::Vector3 VisAngleInDegreesToMeters(UnityEngine::Vector3 visAngleInDegrees, float distInMeters);
public static UnityEngine.Vector3 VisAngleInDegreesToMeters (UnityEngine.Vector3 visAngleInDegrees, float distInMeters);
static member VisAngleInDegreesToMeters : UnityEngine.Vector3 * single -> UnityEngine.Vector3
Public Shared Function VisAngleInDegreesToMeters (visAngleInDegrees As Vector3, distInMeters As Single) As Vector3
Parameters
- visAngleInDegrees
- UnityEngine.Vector3
In degrees.
- distInMeters
- Single
In meters.