Matrix4x4.CreatePerspectiveOffCenter Método

Definición

Crea una matriz de proyección en perspectiva personalizada.

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

Parámetros

left
Single

Valor X mínimo del volumen de vista en el plano de vista próximo.

right
Single

Valor X máximo del volumen de vista en el plano de vista próximo.

bottom
Single

Valor Y mínimo del volumen de vista en el plano de vista próximo.

top
Single

Valor Y máximo del volumen de vista en el plano de vista próximo.

nearPlaneDistance
Single

Distancia al plano de vista próximo.

farPlaneDistance
Single

Distancia al plano de vista lejano.

Devoluciones

Matriz de proyección en perspectiva.

Excepciones

nearPlaneDistance es menor o igual que cero.

o bien

farPlaneDistance es menor o igual que cero.

o bien

nearPlaneDistance es mayor o igual que farPlaneDistance.

Se aplica a