MeshComponent.Materials Property

Definition

Returns the list of materials set on this component.

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

Property Value

Remarks

These are materials that were specifically set to override the default mesh materials, through SetMaterial(). The array will always be the same size as Materials, however, entries for which no override is set, will be null.

Applies to

See also