Creates a projection transform matrix for view viewport.
Namespace:
SGP.XSpaceAssembly: 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
Exception | Condition |
---|---|
System..::.ArgumentNullException | viewport is nullNothingnullptra null reference (Nothing in Visual Basic). |