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

Namespace:  SGP.Baltie
Assembly:  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.

Return Value

Creates a new XCameraViewport viewport instance with the camera.

See Also