次の方法で共有


MeshComponent.Materials プロパティ

定義

このコンポーネントに設定されている材料の一覧を返します。

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)

プロパティ値

注釈

これらは、SetMaterial() を使用して既定のメッシュ マテリアルをオーバーライドするように特別に設定されたマテリアルです。 配列は常に と同じサイズ Materialsになりますが、オーバーライドが設定されていないエントリは になります null

適用対象

こちらもご覧ください