Matrix4x4.CreatePerspectiveOffCenter メソッド

定義

カスタマイズされた透視投影行列を作成します。

public:
 static System::Numerics::Matrix4x4 CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance);
public static System.Numerics.Matrix4x4 CreatePerspectiveOffCenter (float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance);
static member CreatePerspectiveOffCenter : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreatePerspectiveOffCenter (left As Single, right As Single, bottom As Single, top As Single, nearPlaneDistance As Single, farPlaneDistance As Single) As Matrix4x4

パラメーター

left
Single

ニア ビュー平面でのビュー ボリュームの最小 x 値。

right
Single

ニア ビュー平面でのビュー ボリュームの最大 x 値。

bottom
Single

ニア ビュー平面でのビュー ボリュームの最小 y 値。

top
Single

ニア ビュー平面でのビュー ボリュームの最大 y 値。

nearPlaneDistance
Single

ニア ビュー平面までの距離。

farPlaneDistance
Single

ファー ビュー平面までの距離。

戻り値

透視投影行列。

例外

nearPlaneDistance が 0 以下です。

- または -

farPlaneDistance が 0 以下です。

- または -

nearPlaneDistancefarPlaneDistance 以上です。

適用対象