Creates new XCameraViewport class instance with the definition of the view boundaries.

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

Syntax

C#
public XCameraViewport(
	XCamera camera,
	RectangleF bounds,
	XViewportBoundsMode mode
)

Parameters

camera
Type: SGP.XSpace..::.XCamera
The XCamera camera used for the view rendering.
bounds
Type: System.Drawing..::.RectangleF
The RectangleF view boundary coordinates.
mode
Type: SGP.XSpace..::.XViewportBoundsMode
The view boundary interpretation in the XViewportPanel panel.

See Also