| PerspectiveProjectionFromMatrix Method |
Creates an perspective projection from a 4x4 transformation matrix.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static PerspectiveProjection FromMatrix(
Matrix44F matrix
)
Public Shared Function FromMatrix (
matrix As Matrix44F
) As PerspectiveProjection
public:
static PerspectiveProjection^ FromMatrix(
Matrix44F matrix
)
static member FromMatrix :
matrix : Matrix44F -> PerspectiveProjection
Parameters
- matrix
- Type: DigitalRune.Mathematics.AlgebraMatrix44F
The projection matrix.
Return Value
Type:
PerspectiveProjectionThe perspective projection.
See Also