Viewport Members

Defines the window dimensions of a render target surface onto which a 3-D volume projects.

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

Public Properties

  Name Description
Public property Supported by the .NET Compact Framework Height Gets or sets the height dimension of the Viewport on the render target surface, in pixels.
Public property Supported by the .NET Compact Framework MaxZ Gets or sets the maximum value of the clip volume.
Public property Supported by the .NET Compact Framework MinZ Gets or sets the minimum value of the clip volume.
Public property Supported by the .NET Compact Framework Width Gets or sets the width dimension of the Viewport on the render target surface, in pixels.
Public property Supported by the .NET Compact Framework X Gets or sets the pixel coordinates of the upper-left corner of the viewport on the render target surface.
Public property Supported by the .NET Compact Framework Y Gets or sets the pixel coordinate of the upper-left corner of the viewport on the render target surface.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. (Inherited from ValueType.)
Public method Supported by the .NET Compact Framework GetHashCode  Returns the hash code for this instance. (Inherited from ValueType.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)

Top

See Also

Reference

Viewport Structure
Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming