Creates new view to the world World with new camera and adds it to the panel view collection.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XCameraViewport CreateViewport3D( float xRelative, float yRelative, float widthRelative, float heightRelative ) |
Parameters
- xRelative
- Type: System..::.Single
The relative X coordinate of the left upper corner.
- yRelative
- Type: System..::.Single
The relative Y coordinate of the left upper corner.
- widthRelative
- Type: System..::.Single
The viewport width in the relative coordinate.
- heightRelative
- Type: System..::.Single
The viewport width in the relative coordinate.