Partilhar via


Matrix4x4.CreateViewportLeftHanded Método

Definição

Cria uma matriz de visor canhoto com base nos parâmetros especificados.

public:
 static System::Numerics::Matrix4x4 CreateViewportLeftHanded(float x, float y, float width, float height, float minDepth, float maxDepth);
public static System.Numerics.Matrix4x4 CreateViewportLeftHanded (float x, float y, float width, float height, float minDepth, float maxDepth);
static member CreateViewportLeftHanded : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateViewportLeftHanded (x As Single, y As Single, width As Single, height As Single, minDepth As Single, maxDepth As Single) As Matrix4x4

Parâmetros

x
Single

Coordenada X do visor no canto superior esquerdo.

y
Single

Coordenada Y do visor no canto superior esquerdo.

width
Single

Largura do visor.

height
Single

Altura do visor.

minDepth
Single

Profundidade mínima do visor.

maxDepth
Single

Profundidade máxima do visor.

Retornos

A matriz do visor canhoto.

Comentários

Matriz de visor

| width / 2 | 0 | 0 | 0 | | 0 | -height / 2 | 0 | 0 | | 0 | 0 | maxDepth - minDepth | 0 | | x + largura / 2 | y + altura / 2 | minDepth | 1 |

Aplica-se a