Calculates the field angle from the aspect ratio.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static float GetFieldOfViewWithAspectRatio(
	float fieldOfView,
	float aspectRatio
)

Parameters

fieldOfView
Type: System..::.Single
Field angle.
aspectRatio
Type: System..::.Single
Aspect ratio.

Return Value

Returns calculated field angle.

See Also