Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances.
シンタックス
public static Matrix4x4 PerspectiveFieldOfView(
System.float ,
System.float ,
System.float ,
System.float
)
'宣言
Public Shared Function PerspectiveFieldOfView( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As Matrix4x4
パラメータ
- 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.
戻り値の型
The perspective projection matrix.
参照