Creates a perspective projection matrix from the given view volume dimensions.
シンタックス
public static Matrix4x4 Perspective(
System.float ,
System.float ,
System.float ,
System.float
)
'宣言
Public Shared Function Perspective( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
) As Matrix4x4
パラメータ
- width
- The width of the view volume at the near view plane.
- height
- The height of the view volume at the near view plane.
- nearPlaneDistance
- The distance to the near view plane.
- farPlaneDistance
- The distance to the far view plane.
戻り値の型
The perspective projection matrix.
参照