Microsoft.Xna.Framework Namespace
Provides commonly needed game classes such as timers and game loops.
Classes
Name | Description | |
---|---|---|
![]() |
BoundingFrustum | Defines a frustum and helps determine whether forms intersect with it. |
![]() |
Curve | Stores an arbitrary collection of 2D CurveKey points, and provides methods for evaluating features of the curve they define. |
![]() |
CurveKey | Represents a point in a multi-point curve. |
![]() |
CurveKeyCollection | Contains the CurveKeys making up a Curve. |
![]() |
DrawableGameComponent | A game component that is notified when it needs to draw itself. |
![]() |
Game | Provides basic graphics device initialization, game logic, and rendering code. |
![]() |
GameComponent | Base class for all XNA Framework game components. |
![]() |
GameComponentCollection | A collection of game components. |
![]() |
GameComponentCollectionEventArgs | Arguments used with events from the GameComponentCollection. |
![]() |
GameServiceContainer | A collection of game services. |
![]() |
GameTime | Snapshot of the game timing state expressed in values that can be used by variable-step (real time) or fixed-step (game time) games. |
![]() |
GameWindow | The system window associated with a Game. |
![]() |
GraphicsDeviceInformation | Holds the settings for creating a graphics device on Windows. |
![]() |
GraphicsDeviceManager | Handles the configuration and management of the graphics device. |
![]() |
MathHelper | Contains commonly used precalculated values. |
![]() |
NoSuitableGraphicsDeviceException | Thrown when no available graphics device fits the given device preferences. |
![]() |
PreparingDeviceSettingsEventArgs | Arguments for the GraphicsDeviceManager.PreparingDeviceSettings event. |
Interfaces
Name | Description | |
---|---|---|
![]() |
IDrawable | Defines the interface for a drawable game component. |
![]() |
IGameComponent | Defines an interface for game components. |
![]() |
IGraphicsDeviceManager | Defines the interface for an object that manages a GraphicsDevice. |
![]() |
IUpdateable | Defines an interface for a game component that should be updated in Game.Update. |
Structures
Name | Description | |
---|---|---|
![]() |
BoundingBox | Defines an axis-aligned box-shaped 3D volume. |
![]() |
BoundingSphere | Defines a sphere. |
![]() |
Matrix | Defines a matrix. |
![]() |
Plane | Defines a plane. |
![]() |
Point | Defines a point in 2D space. |
![]() |
Quaternion | Defines a quaternion. |
![]() |
Ray | Defines a ray. |
![]() |
Rectangle | Defines a rectangle. |
![]() |
Vector2 | Defines a vector with two components. |
![]() |
Vector3 | Defines a vector with three components. |
![]() |
Vector4 | Defines a vector with four components. |
Enumerations
Name | Description | |
---|---|---|
![]() |
ContainmentType | Indicates the extent to which bounding volumes intersect or contain one another. |
![]() |
CurveContinuity | Defines the continuity of CurveKeys on a Curve. |
![]() |
CurveLoopType | Defines how the value of a Curve will be determined for positions before the first point on the Curve or after the last point on the Curve. |
![]() |
CurveTangent | Specifies different tangent types to be calculated for CurveKey points in a Curve. |
![]() |
PlaneIntersectionType | Describes the intersection between a plane and a bounding volume. |
![]() |
PlayerIndex | Specifies the index of a player. |
![]() |
TargetPlatform | Defines the target platform to be used when compiling content. |
See Also
Tasks
How to: Allow the Player to Resize a Game Window
How to: Pause a Game
How to: Exit a Game
How to: Display a Game in Full Screen Mode
How to: Restrict Graphics Devices to Widescreen Aspect Ratios in Full Screen
How to: Make a Game Time Out
How to: Make a Game Use a Variable Time Step
How to: Transform a Point with a Matrix
How to: Rotate and Move a Camera
How to: Make a First-Person Camera
How to: Make a Third-Person Camera
How to: Script the Camera to Follow a Curve
How to: Position the Camera to View All Objects in a Scene
How to: Detect Whether Two Models Collide
How to: Detect Whether a User Clicked a 3D Object