Initializer

init(originX:originY:width:height:znear:zfar:)

Returns a new viewport of a specified size at a specified origin.

Declaration

init(originX: Double, originY: Double, width: Double, height: Double, znear: Double, zfar: Double)

See Also

Creating a Viewport

init()

Returns a new viewport.