Class StreamingMaterialFactory
Base class to create StreamingMaterial instances with its attached StreamingMaterialProperty.
Inherited Members
Namespace: Unity.Cloud.DataStreaming.Runtime
Assembly: Unity.Cloud.DataStreaming.Runtime.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. |