Creates new transparent view to the world world with new camera and adds it to the panel view collection.

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

Syntax

C#
public XCameraViewport CreateOverlayViewport(
	XWorld world
)

Parameters

world
Type: SGP.XSpace..::.XWorld
The XWorld world where the new view will be created.

Return Value

Returns new XCameraViewport class instance for view with the camera.

Exceptions

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

See Also