Matrix4x4.CreateViewportLeftHanded 메서드

정의

지정된 매개 변수에서 왼손 뷰포트 행렬을 만듭니다.

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

매개 변수

x
Single

뷰포트 왼쪽 위 모서리의 X 좌표입니다.

y
Single

뷰포트 왼쪽 위 모서리의 Y 좌표입니다.

width
Single

뷰포트 너비입니다.

height
Single

뷰포트 높이.

minDepth
Single

뷰포트 최소 깊이.

maxDepth
Single

뷰포트 최대 깊이.

반환

왼손 뷰포트 행렬입니다.

설명

뷰포트 행렬

| width / 2 | 0 | 0 | 0 | | 0 | -height / 2 | 0 | 0 | | 0 | 0 | maxDepth - minDepth | 0 | | x + 너비 / 2 | y + 높이 / 2 | minDepth | 1 |

적용 대상