Editar

Compartir a través de


EyeTrackingDemoUtils.VisAngleInDegreesToMeters Method

Definition

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.

Returns

UnityEngine.Vector3

Applies to