# System.Windows.Media.Media3D Namespace

**.NET Framework (current version)**

Note |
---|

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |

Contains types that support 3-D presentation in Windows Presentation Foundation (WPF) applications.

Class | Description | |
---|---|---|

AffineTransform3D | Base class from which all concrete affine 3-D transforms—translations, rotations, and scale transformations—derive. | |

AmbientLight | Light object that applies light to objects uniformly, regardless of their shape. | |

AxisAngleRotation3D | Represents a 3-D rotation of a specified angle about a specified axis. | |

Camera | Specifies what portion of the 3D scene is rendered by the Viewport3DVisual or Viewport3D element. | |

ContainerUIElement3D | Represents a container for Visual3D objects. | |

DiffuseMaterial | Allows the application of a 2-D brush, like a SolidColorBrush or TileBrush, to a diffusely-lit 3-D model. | |

DirectionalLight | Light object that projects its effect along a direction specified by a Vector3D. | |

EmissiveMaterial | ||

GeneralTransform2DTo3D | Provides 2-D to 3-D transformation support. | |

GeneralTransform3D | Provides generalized transformation support for 3-D objects. | |

GeneralTransform3DCollection | Represents an ordered collection of GeneralTransform3D objects. | |

GeneralTransform3DGroup | Represents a GeneralTransform3D that is a composite of the transforms in its GeneralTransform3DCollection. | |

GeneralTransform3DTo2D | Provides 3-D to 2-D transformation support. | |

Geometry3D | Classes that derive from this abstract base class define 3D geometric shapes. The Geometry3D class of objects can be used for hit-testing and rendering 3D graphic data. | |

GeometryModel3D | Renders a Geometry3D with the specified Material. | |

HitTestParameters3D | Abstract class that represents the parameters of a 3D hit test. | |

Light | Model3D object that represents lighting applied to a 3-D scene. | |

Material | Abstract base class for materials. | |

MaterialCollection | Collection of Material objects. | |

MaterialGroup | Represents a Material that is a composite of the Materials in its collection. | |

Matrix3DConverter | Converts instances of other types to and from instances of Matrix3D. | |

MatrixCamera | Camera which specifies the view and projection transforms as Matrix3D objects | |

MatrixTransform3D | Creates a transformation specified by a Matrix3D, used to manipulate objects or coordinate systems in 3-D world space. | |

MeshGeometry3D | Triangle primitive for building a 3-D shape. | |

Model3D | Provides functionality for 3-D models. | |

Model3DCollection | Represents an ordered collection of Model3D objects. | |

Model3DGroup | Enables using a number of 3-D models as a unit. | |

ModelUIElement3D | Renders a 3-D model that supports input, focus, and events. | |

ModelVisual3D | ||

OrthographicCamera | Represents an orthographic projection camera. | |

PerspectiveCamera | Represents a perspective projection camera. | |

Point3DCollection | Represents an ordered collection of Point3D objects. | |

Point3DCollectionConverter | Converts instances of other types to and from Point3DCollection instances. | |

Point3DConverter | Converts instances of other types to and from a Point3D structure. | |

Point4DConverter | Converts instances of other types to and from a Point4D structure. | |

PointLight | Represents a light source that has a specified position in space and projects its light in all directions. | |

PointLightBase | Abstract base class that represents a light object that has a position in space and projects its light in all directions. | |

ProjectionCamera | An abstract base class for perspective and orthographic projection cameras. | |

QuaternionConverter | Converts instances of other types to and from instances of Quaternion. | |

QuaternionRotation3D | Represents a rotation transformation defined as a quaternion. | |

RayHitTestParameters | Specifies the parameters of a hit test along a ray. | |

RayHitTestResult | Represents the result of a hit test along a ray. | |

RayMeshGeometry3DHitTestResult | Represents an intersection between a ray hit test and a MeshGeometry3D. | |

Rect3DConverter | Converts instances of other types to and from instances of Rect3D. | |

RotateTransform3D | Specifies a rotation transformation. | |

Rotation3D | Specifies the 3-D rotation to be used in a transformation. | |

ScaleTransform3D | Scales an object in the three-dimensional x-y-z plane, starting from a defined center point. Scale factors are defined in x-, y-, and z- directions from this center point. | |

Size3DConverter | Converts instances of other types to and from a Size3D structure. | |

SpecularMaterial | Allows a 2-D brush, like a SolidColorBrush or TileBrush, to be applied to a specularly-lit 3-D model. | |

SpotLight | Light object that projects its effect in a cone-shaped area along a specified direction. | |

Transform3D | Provides a parent class for all three-dimensional transformations, including translation, rotation, and scale transformations. | |

Transform3DCollection | Represents an ordered collection of Transform3D objects. | |

Transform3DGroup | Represents a transformation that is a composite of the Transform3D children in its Transform3DCollection. | |

TranslateTransform3D | Translates an object in the three-dimensional x-y-z plane. | |

Vector3DCollection | Collection of Vector3D objects. | |

Vector3DCollectionConverter | Converts instances of other types to and from instances of Vector3DCollection. | |

Vector3DConverter | Converts instances of other types to and from a Vector3D structure. | |

Viewport2DVisual3D | Renders the 2-D children within the specified 3-D viewport bounds. | |

Viewport3DVisual | Renders the Visual3D children within the specified 2D viewport bounds. | |

Visual3D | Provides services and properties that are common to visual 3-D objects, including hit-testing, coordinate transformation, and bounding box calculations. | |

Visual3DCollection | Represents an ordered collection of Visual3D objects. |

Structure | Description | |
---|---|---|

GeneralTransform3DCollection.Enumerator | Enumerates GeneralTransform3D items in a GeneralTransform3DCollection. | |

MaterialCollection.Enumerator | Enumerates Material items in a MaterialCollection. | |

Model3DCollection.Enumerator | Enumerates items in a collection. | |

Point3DCollection.Enumerator | Enumerates items in a Point3DCollection. | |

Transform3DCollection.Enumerator | Enumerates Transform3D items in a Transform3DCollection. | |

Vector3DCollection.Enumerator | Enumerates Vector items in a VectorCollection. | |

Visual3DCollection.Enumerator | Enumerates Visual3D items in a Visual3DCollection. | |

Matrix3D | Represents a 4 x 4 matrix used for transformations in 3-D space. | |

Point3D | Represents an x-, y-, and z-coordinate point in 3-D space. | |

Point4D | Represents an x-, y-, z-, and w-coordinate point in world space used in performing transformations with non-affine 3-D matrices. | |

Quaternion | Structure that represents a rotation in three dimensions. | |

Rect3D | Represents a 3-D rectangle: for example, a cube. | |

Size3D | Data structure that describes the size of a three-dimensional object. | |

Vector3D | Represents a displacement in 3-D space. |