Creates new view to the world World2D 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 CreateViewport2D( 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.