ComponentOne Bitmap for UWP
PerspectiveFieldOfView Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : PerspectiveFieldOfView Method
The field of view in the y direction, in radians.
The aspect ratio, defined as view space width divided by height.
The distance to the near view plane.
The distance to the far view plane.
Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances.
Syntax
'Declaration
 
Public Shared Function PerspectiveFieldOfView( _
   ByVal fieldOfView As System.Single, _
   ByVal aspectRatio As System.Single, _
   ByVal nearPlaneDistance As System.Single, _
   ByVal farPlaneDistance As System.Single _
) As Matrix4x4
public static Matrix4x4 PerspectiveFieldOfView( 
   System.float fieldOfView,
   System.float aspectRatio,
   System.float nearPlaneDistance,
   System.float farPlaneDistance
)

Parameters

fieldOfView
The field of view in the y direction, in radians.
aspectRatio
The aspect ratio, defined as view space width divided by height.
nearPlaneDistance
The distance to the near view plane.
farPlaneDistance
The distance to the far view plane.

Return Value

The perspective projection matrix.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members