Matrix4x4.CreateOrthographic(Single, Single, Single, Single) Método

Definição

Cria uma matriz de perspectiva ortográfica com base nas dimensões de volume de exibição determinadas.Creates an orthographic perspective matrix from the given view volume dimensions.

public:
 static System::Numerics::Matrix4x4 CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane);
public static System.Numerics.Matrix4x4 CreateOrthographic (float width, float height, float zNearPlane, float zFarPlane);
static member CreateOrthographic : single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateOrthographic (width As Single, height As Single, zNearPlane As Single, zFarPlane As Single) As Matrix4x4

Parâmetros

width
Single

A largura do volume de exibição.The width of the view volume.

height
Single

A altura do volume de exibição.The height of the view volume.

zNearPlane
Single

O valor Z mínimo do volume de exibição.The minimum Z-value of the view volume.

zFarPlane
Single

O valor Z máximo do volume de exibição.The maximum Z-value of the view volume.

Retornos

A matriz de projeção ortográfica.The orthographic projection matrix.

Aplica-se a