Matrix4x4.CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) Matrix4x4.CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) Matrix4x4.CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) Matrix4x4.CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) Method

Definition

Erstellt eine angepasste perspektivische Projektionsmatrix.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

Parameter

left
Single Single Single Single

Der kleinste X-Wert des Bildraums auf der Nahsichtebene.The minimum x-value of the view volume at the near view plane.

right
Single Single Single Single

Der größte X-Wert des Bildraums auf der Nahsichtebene.The maximum x-value of the view volume at the near view plane.

bottom
Single Single Single Single

Der kleinste Y-Wert des Bildraums auf der Nahsichtebene.The minimum y-value of the view volume at the near view plane.

top
Single Single Single Single

Der größte Y-Wert des Bildraums auf der Nahsichtebene.The maximum y-value of the view volume at the near view plane.

nearPlaneDistance
Single Single Single Single

Der Abstand zur Nahsichtebene.The distance to the near view plane.

farPlaneDistance
Single Single Single Single

Der Abstand zur Fernsichtebene.The distance to the far view plane.

Gibt zurück

Die perspektivische Projektionsmatrix.The perspective projection matrix.

Ausnahmen

nearPlaneDistance ist kleiner gleich 0 (null).nearPlaneDistance is less than or equal to zero.

- oder --or- farPlaneDistance ist kleiner gleich 0 (null).farPlaneDistance is less than or equal to zero.

- oder --or- nearPlaneDistance ist größer gleich farPlaneDistance.nearPlaneDistance is greater than or equal to farPlaneDistance.

Gilt für: