[This is preliminary documentation and is subject to change.]

Create a viewport at a given % dimension of the screen. The viewport is rendered using perspective/trajectory settings from the ViewCam property

Namespace:  IcarusSceneEngine
Assembly:  IcarusSceneEngine (in IcarusSceneEngine)
Version: 1.0.0.0

Syntax

C#
public Viewport(
	string name,
	int viewportX,
	int viewportY,
	int viewportWidth,
	int viewportHeight
)

Parameters

name
Type: System..::.String
Object name
viewportX
Type: System..::.Int32
The % offset from the left
viewportY
Type: System..::.Int32
The % offset from the top of the screen
viewportWidth
Type: System..::.Int32
The % Width of the viewport
viewportHeight
Type: System..::.Int32
The % Height of the viewport

See Also