docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelConfigurator

    Contains methods to configure an IModelStream.

    Inheritance
    object
    ModelConfigurator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.DataStreaming.Runtime
    Assembly: Unity.Cloud.DataStreaming.Runtime.dll
    Syntax
    public sealed class ModelConfigurator

    Methods

    FromUri(Uri)

    Prepares the configurator with a model that can be streamed from a Uri. This uses the UnityWebRequest.

    Declaration
    public void FromUri(Uri uri)
    Parameters
    Type Name Description
    Uri uri

    A uri pointing to a valid root json tileset.

    Exceptions
    Type Condition
    ArgumentNullException

    The uri is null.

    FromUri(Uri, IServiceHttpClient)

    Prepares the configurator with a model that can be streamed from a Uri with the specified IServiceHttpClient.

    Declaration
    public void FromUri(Uri uri, IServiceHttpClient serviceHttpClient)
    Parameters
    Type Name Description
    Uri uri

    A uri pointing to a valid root json tileset.

    IServiceHttpClient serviceHttpClient

    The http client that to use.

    Exceptions
    Type Condition
    ArgumentNullException

    An argument is null.

    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)