Click or drag to resize
DigitalRunePerspectiveViewVolumeGetFieldOfViewY Method
Converts a horizontal field of view of a symmetric frustum to a vertical field of view.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static float GetFieldOfViewY(
	float fieldOfViewX,
	float aspectRatio
)

Parameters

fieldOfViewX
Type: SystemSingle
The horizontal field of view in radians.
aspectRatio
Type: SystemSingle
The aspect ratio.

Return Value

Type: Single
The vertical field of view in radians.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionfieldOfViewX is not between 0 and π radians (0° and 180°), or aspectRatio is negative or 0.
See Also