RenderingConnection.CreateMaterial(MaterialType) Method
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.
Creates a new 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
Parameters
- type
- MaterialType
Material type to create.
Returns
Returns null
if the client has been disconnected.