docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StreamingMaterialFactory

    Base class to create StreamingMaterial instances with its attached StreamingMaterialProperty.

    Inheritance
    object
    StreamingMaterialFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)