MeshComponent.UsedMaterials Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.