AllocateHierarchy.CreateMeshContainer(String,MeshData,ExtendedMaterial[],EffectInstance[],GraphicsStream,SkinInformation) Method (Microsoft.DirectX.Direct3D)
Requests allocation of a MeshContainer object.
Definition
Visual Basic MustOverride Public Function CreateMeshContainer( _
ByVal name As String, _
ByVal meshData As MeshData, _
ByVal materials() As ExtendedMaterial, _
ByVal effectInstances() As EffectInstance, _
ByVal adjacency As GraphicsStream, _
ByVal skinInfo As SkinInformation _
) As MeshContainerC# public abstract MeshContainer CreateMeshContainer(
string name,
MeshData meshData,
ExtendedMaterial[] materials,
EffectInstance[] effectInstances,
GraphicsStream adjacency,
SkinInformation skinInfo
);C++ public:
virtual MeshContainer^ CreateMeshContainer(
String^ name,
MeshData meshData,
array<ExtendedMaterial>^ materials,
array<EffectInstance>^ effectInstances,
GraphicsStream^ adjacency,
SkinInformation^ skinInfo
) abstract;JScript public abstract function CreateMeshContainer(
name : String,
meshData : MeshData,
materials : ExtendedMaterial[],
effectInstances : EffectInstance[],
adjacency : GraphicsStream,
skinInfo : SkinInformation
) : MeshContainer;
Parameters
name System.String
String that represents the name of the mesh.meshData Microsoft.DirectX.Direct3D.MeshData
Reference to a MeshData structure.materials Microsoft.DirectX.Direct3D.ExtendedMaterial[]
Array of ExtendedMaterial structures used in the mesh.effectInstances Microsoft.DirectX.Direct3D.EffectInstance[]
Array of EffectInstance structures used in the mesh.adjacency Microsoft.DirectX.GraphicsStream
Array of GraphicsStream objects that represent an adjacency array for the mesh.skinInfo Microsoft.DirectX.Direct3D.SkinInformation
Reference to the SkinInformation object, if skin data is found.
Return Value
Microsoft.DirectX.Direct3D.MeshContainer
Created MeshContainer.