AllocateHierarchy.CreateMeshContainer Method |
Language: |
Requests allocation of a MeshContainer object.
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;
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.
Microsoft.DirectX.Direct3D.MeshContainer
Created MeshContainer.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center