Επεξεργασία

Κοινή χρήση μέσω


Matrix4x4.CreateOrthographicLeftHanded(Single, Single, Single, Single) Method

Definition

Creates a left-handed orthographic perspective matrix from the given view volume dimensions.

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

Parameters

width
Single

The width of the view volume.

height
Single

The height of the view volume.

zNearPlane
Single

The minimum Z-value of the view volume.

zFarPlane
Single

The maximum Z-value of the view volume.

Returns

The left-handed orthographic projection matrix.

Applies to