Class StreamingMaterialFactory
Base class to create StreamingMaterial instances with its attached Properties.
Inherited Members
Namespace: Unity.Cloud.DataStreaming.Runtime
Assembly: solution.dll
Syntax
public abstract class StreamingMaterialFactory
Methods
InstantiateMaterial(MaterialType)
Create a new IStreamingMaterial instance based on the given type
.
Declaration
public abstract IStreamingMaterial InstantiateMaterial(MaterialType type)
Parameters
Type | Name | Description |
---|---|---|
MaterialType | type | Determine which IStreamingMaterial to instantiate. |
Returns
Type | Description |
---|---|
IStreamingMaterial | The new material instance. |