Matrix4x4.CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) メソッド

定義

カスタマイズされた透視投影行列を作成します。Creates a customized perspective projection matrix.

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 値。The minimum x-value of the view volume at the near view plane.

right
Single

ニア ビュー平面でのビュー ボリュームの最大 x 値。The maximum x-value of the view volume at the near view plane.

bottom
Single

ニア ビュー平面でのビュー ボリュームの最小 y 値。The minimum y-value of the view volume at the near view plane.

top
Single

ニア ビュー平面でのビュー ボリュームの最大 y 値。The maximum y-value of the view volume at the near view plane.

nearPlaneDistance
Single

ニア ビュー平面までの距離。The distance to the near view plane.

farPlaneDistance
Single

ファー ビュー平面までの距離。The distance to the far view plane.

戻り値

透視投影行列。The perspective projection matrix.

例外

nearPlaneDistance が 0 以下です。nearPlaneDistance is less than or equal to zero.

または-or- farPlaneDistance が 0 以下です。farPlaneDistance is less than or equal to zero.

または-or- nearPlaneDistancefarPlaneDistance 以上です。nearPlaneDistance is greater than or equal to farPlaneDistance.

適用対象