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
)

Parameters

camera
Type: SGP.XSpace..::.XCamera
The XCamera camera used for the view rendering.
bounds
Type: System.Drawing..::.RectangleF
The RectangleF view border relative coordinates.

See Also