Export (0) Print
Expand All

Viewport Members

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

NameDescription
Public MethodViewportOverloaded. Creates an instance of this class.

NameDescription
Public PropertyAspectRatioGets the aspect ratio used by the viewport
Public PropertyBoundsGets the size of this resource.
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 PropertyTitleSafeAreaReturns the title safe area of the current viewport.
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 MethodToStringRetrieves a string representation of this object.
Public MethodUnproject Converts a screen space point into a corresponding point in world space.

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

Community Additions

ADD
Show:
© 2014 Microsoft