Microsoft.Xna.Framework Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides classes for using 3-D graphics.
Classes
Class | Description | |
---|---|---|
BoundingFrustum | Defines a frustum and helps determine whether forms intersect with it. | |
ColorExtensions | Performs conversions of colors and vectors. | |
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. | |
MathHelper | Contains commonly used precalculated values. |
Structures
Structure | 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
Enumeration | Description | |
---|---|---|
ContainmentType | Indicates the extent to which bounding volumes intersect or contain one another. | |
CurveContinuity | Defines the continuity of CurveKey instances 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. |