Viewport Members

The following tables list the members exposed by the Viewport type.

NameDescription
Public PropertyHeightGets or sets the height dimension of the viewport on the render-target surface, in pixels.
Public PropertyMaxDepthGets or sets the maximum depth of the clip volume.
Public PropertyMinDepthGets or sets the minimum depth of the clip volume.
Public PropertyWidthGets or sets the width dimension of the viewport on the render-target surface, in pixels.
Public PropertyXGets or sets the pixel coordinate of the upper-left corner of the viewport on the render-target surface.
Public PropertyYGets or sets the pixel coordinate of the upper-left corner of the viewport on the render-target surface.

NameDescription
Public MethodEquals (Inherited from ValueType.)
Public MethodGetHashCode (Inherited from ValueType.)
Public MethodGetType (Inherited from Object.)
Public MethodProject Projects a 3D vector from object space into screen space.
Public MethodReferenceEquals (Inherited from Object.)
Public MethodToStringRetrieves a string representation of this object.
Public MethodUnproject Projects a vector from screen space into object space.

NameDescription
Protected MethodFinalize (Inherited from Object.)
Protected MethodMemberwiseClone (Inherited from Object.)
Show: