Creates new view to the world world with new camera and adds it to the panel view collection.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XCameraViewport CreateViewport( 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
Exception | Condition |
---|---|
System..::.ArgumentNullException | world is nullNothingnullptra null reference (Nothing in Visual Basic). |