MeshContainer Class (Microsoft.DirectX.Direct3D)

Encapsulates a mesh object in a transformation frame hierarchy.

Definition

Visual Basic MustInherit Public Class MeshContainer
    Inherits ObjectLeave Site
C# public abstract class MeshContainer : ObjectLeave Site
C++ public ref class MeshContainer abstract : ObjectLeave Site
JScript public abstract class MeshContainer extends ObjectLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Finalize Allows the MeshContainer object to free resources before it is destroyed by the garbage collector.
GetAdjacency Retrieves an array that contains the mesh adjacency information.
GetAdjacencyStream Retrieves a GraphicsStream object that contains the mesh adjacency information.
GetEffectInstances Retrieves an array of EffectInstance objects that contain the effects for the mesh.
GetMaterials Retrieves an array of mesh materials.
MeshContainer Initializes a new instance of the MeshContainer class.
SetAdjacency Sets the mesh adjacency information.
SetEffectInstances Sets an array of EffectInstance objects that contain the effects for the mesh.
SetMaterials Sets an array of mesh materials.

Properties

Property Description
MeshData Retrieves or sets a MeshData object that contains the type of data in the mesh.
Name Retrieves or sets the mesh name.
NextContainer Retrieves the next mesh container.
SkinInformation Retrieves or sets a SkinInformation object that contains information about animating bones in a skin mesh.

Inheritance Hierarchy

ObjectLeave Site

MeshContainer

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492