Calculates the field angle from the aspect ratio.
Namespace:
SGP.XSpaceAssembly: 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.