MeshComponent.UsedMaterials 属性

定义

返回用于呈现网格的实际使用材料的列表。

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)

属性值

注解

数组将包含替代材料 (Materials) 或者,如果未设置替代,则包含引用 Mesh的默认材料。

适用于

另请参阅