Tesla Graphics Engine Documentation (January 2012)
Viewport Constructor (x, y, width, height, minDepth, maxDepth)
TeslaTesla.GraphicsViewportViewport(Int32, Int32, Int32, Int32, Int32, Int32)
Creates a new viewport with the supplied top left corner coordinates, width, and height.
Declaration Syntax
C#
public Viewport(
	int x,
	int y,
	int width,
	int height,
	int minDepth,
	int maxDepth
)
Parameters
x (Int32)
Top left X coordinate
y (Int32)
Top left Y coordinate
width (Int32)
Width
height (Int32)
Height
minDepth (Int32)
Minimum Z depth
maxDepth (Int32)
Maximum Z depth

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)