ViewportF Constructor(Single,Single,Single,Single,Single,Single)
In This Topic
Initializes a new instance of the
ViewportF struct.
Syntax
'Declaration
Public Function New( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
)
public ViewportF(
System.float ,
System.float ,
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- x
- The x coordinate of the upper-left corner of the viewport in pixels.
- y
- The y coordinate of the upper-left corner of the viewport in pixels.
- width
- The width of the viewport in pixels.
- height
- The height of the viewport in pixels.
- minDepth
- The minimum depth of the clip volume.
- maxDepth
- The maximum depth of the clip volume.
See Also