ILNumerics Ultimate VS

Matrix4FromViewRectangleF Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Creates a ViewMatrix, suitable to serve as view transform matrix based on given rectangle data.

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static Matrix4 FromViewRectangleF(
	float left,
	float right,
	float top,
	float bottom
)

Parameters

left
Type: SystemSingle
The left border.
right
Type: SystemSingle
The right border.
top
Type: SystemSingle
The top border.
bottom
Type: SystemSingle
The bottom border.

Return Value

Type: Matrix4
View matrix selecting the provided rectangle as the view target area.
Remarks

[ILNumerics Visualization Engine]

See Also

Reference