RenderingConnection.CreateMaterial(MaterialType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 Material。
public:
Microsoft::Azure::RemoteRendering::Material ^ CreateMaterial(Microsoft::Azure::RemoteRendering::MaterialType type);
public Microsoft.Azure.RemoteRendering.Material CreateMaterial (Microsoft.Azure.RemoteRendering.MaterialType type);
member this.CreateMaterial : Microsoft.Azure.RemoteRendering.MaterialType -> Microsoft.Azure.RemoteRendering.Material
Public Function CreateMaterial (type As MaterialType) As Material
參數
- type
- MaterialType
要建立的材質類型。
傳回
如果用戶端已中斷連線,則傳 null
回 。