Matrix4x4.CreateOrthographicOffCenter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a customized orthographic projection matrix.
public:
static System::Numerics::Matrix4x4 CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane);
public static System.Numerics.Matrix4x4 CreateOrthographicOffCenter (float left, float right, float bottom, float top, float zNearPlane, float zFarPlane);
static member CreateOrthographicOffCenter : single * single * single * single * single * single -> System.Numerics.Matrix4x4
Public Shared Function CreateOrthographicOffCenter (left As Single, right As Single, bottom As Single, top As Single, zNearPlane As Single, zFarPlane As Single) As Matrix4x4
Parameters
- left
- Single
The minimum X-value of the view volume.
- right
- Single
The maximum X-value of the view volume.
- bottom
- Single
The minimum Y-value of the view volume.
- top
- Single
The maximum Y-value 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 orthographic projection matrix.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.