Share via


MeshComponent.UsedMaterials Property

Definition

Returns the list of actually used materials for rendering the mesh.

public:
 property System::Collections::Generic::IReadOnlyList<Microsoft::Azure::RemoteRendering::Material ^> ^ UsedMaterials { System::Collections::Generic::IReadOnlyList<Microsoft::Azure::RemoteRendering::Material ^> ^ get(); };
public System.Collections.Generic.IReadOnlyList<Microsoft.Azure.RemoteRendering.Material> UsedMaterials { get; }
member this.UsedMaterials : System.Collections.Generic.IReadOnlyList<Microsoft.Azure.RemoteRendering.Material>
Public ReadOnly Property UsedMaterials As IReadOnlyList(Of Material)

Property Value

Remarks

The array will either contain the override material (Materials) or, if no override was set, the default material of the referenced Mesh.

Applies to

See also