ViewportExtensions Class

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

System.Object
  Microsoft.Xna.Framework.Graphics.ViewportExtensions

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

public static class ViewportExtensions

The ViewportExtensions type exposes the following members.

  NameDescription
Public methodStatic memberProjectProjects a 3D vector from object space into screen space.
Public methodStatic memberUnprojectConverts a screen space point into a corresponding point in world space.
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: