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. | |
FrameworkDispatcher | Processes XNA Framework event messages. | |
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. | |
GameTimer | Manages a timer which updates a game by firing actions at specific times. | |
GameTimerEventArgs | A snapshot of the game timing state based on game time and not real time. | |
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. | |
LaunchParameters | The start up parameters for launching a Windows Phone or Windows game. | |
MathHelper | Contains commonly used precalculated values. | |
PreparingDeviceSettingsEventArgs | Arguments for the GraphicsDeviceManager.PreparingDeviceSettings event. | |
SharedGraphicsDeviceManager | Handles the configuration and management of a shared graphics device. | |
TitleContainer | Provides file stream access to the title's default storage location. |
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. | |
Color | Represents a four-component color using red, green, blue, and alpha data. | |
Matrix | Defines a matrix. | |
Plane | Defines a plane. | |
Point | Defines a point in 2D space. | |
Quaternion | Defines a four-dimensional vector (x,y,z,w), which is used to efficiently rotate an object about the (x, y, z) vector by the angle theta, where w = cos(theta/2). | |
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. | |
DisplayOrientation | Defines the display orientation. | |
PlaneIntersectionType | Describes the intersection between a plane and a bounding volume. | |
PlayerIndex | Specifies the game controller associated with a player. |