Share via


MeshContainer.GetMaterials() Method (Microsoft.DirectX.Direct3D)

Retrieves an array of mesh materials.

Definition

Visual Basic Public Function GetMaterials() As ExtendedMaterial()
C# public ExtendedMaterial[] GetMaterials();
C++ public:
array<ExtendedMaterial>^ GetMaterials();
JScript public function GetMaterials() : ExtendedMaterial[];

Return Value

Microsoft.DirectX.Direct3D.ExtendedMaterial[]
Array of ExtendedMaterial objects that contain the mesh materials.