MeshComponent.Materials 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 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
.