Creates a projection transform matrix for view viewport.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public Matrix GetProjectionTransformation(
	XViewport viewport
)

Parameters

viewport
Type: SGP.XSpace..::.XViewport
View that defines the transform.

Return Value

Returns created projection transform matrix.

Exceptions

ExceptionCondition
System..::.ArgumentNullException viewport is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also