docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelConfiguratorExtensions

    Extends the ModelConfigurator with methods to use IDataset.

    Inheritance
    object
    ModelConfiguratorExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cloud.DataStreaming.Runtime.AssetManager
    Assembly: solution.dll
    Syntax
    public static class ModelConfiguratorExtensions

    Methods

    FromAsset(ModelConfigurator, IAsset, string, string, IServiceHttpClient)

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

    Declaration
    public static void FromAsset(this ModelConfigurator configurator, IAsset asset, string tag, string fileName, IServiceHttpClient serviceHttpClient)
    Parameters
    Type Name Description
    ModelConfigurator configurator

    Extended instance.

    IAsset asset

    Stream the content of this IAsset.

    string tag

    Restrict the IDataset search with this tag part of its SystemTags.

    string fileName

    Name of the root tileset.

    IServiceHttpClient serviceHttpClient

    The IServiceHttpClient used to request Uri content.

    Exceptions
    Type Condition
    ArgumentNullException

    An argument is null.

    FromAsset(ModelConfigurator, IAsset, string, IServiceHttpClient)

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

    Declaration
    public static void FromAsset(this ModelConfigurator configurator, IAsset asset, string tag, IServiceHttpClient serviceHttpClient)
    Parameters
    Type Name Description
    ModelConfigurator configurator

    Extended instance.

    IAsset asset

    Stream the content of this IAsset.

    string tag

    Restrict the IDataset search with this tag part of its SystemTags.

    IServiceHttpClient serviceHttpClient

    The IServiceHttpClient used to request Uri content.

    Exceptions
    Type Condition
    ArgumentNullException

    An argument is null.

    FromAsset(ModelConfigurator, IAsset, IServiceHttpClient)

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

    Declaration
    public static void FromAsset(this ModelConfigurator configurator, IAsset asset, IServiceHttpClient serviceHttpClient)
    Parameters
    Type Name Description
    ModelConfigurator configurator

    Extended instance.

    IAsset asset

    Stream the content of this IAsset.

    IServiceHttpClient serviceHttpClient

    The IServiceHttpClient used to request Uri content.

    Exceptions
    Type Condition
    ArgumentNullException

    An argument is null.

    FromDataset(ModelConfigurator, IDataset, string, IServiceHttpClient)

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

    Declaration
    public static void FromDataset(this ModelConfigurator configurator, IDataset dataset, string fileName, IServiceHttpClient serviceHttpClient)
    Parameters
    Type Name Description
    ModelConfigurator configurator

    Extended instance.

    IDataset dataset

    Stream the content of this IDataset.

    string fileName

    Name of the root tileset.

    IServiceHttpClient serviceHttpClient

    The IServiceHttpClient used to request Uri content.

    Exceptions
    Type Condition
    ArgumentNullException

    An argument is null.

    FromDataset(ModelConfigurator, IDataset, IServiceHttpClient)

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

    Declaration
    public static void FromDataset(this ModelConfigurator configurator, IDataset dataset, IServiceHttpClient serviceHttpClient)
    Parameters
    Type Name Description
    ModelConfigurator configurator

    Extended instance.

    IDataset dataset

    Stream the content of this IDataset.

    IServiceHttpClient serviceHttpClient

    The IServiceHttpClient used to request Uri content.

    Exceptions
    Type Condition
    ArgumentNullException

    An argument is null.

    In This Article
    Back to top
    Copyright © 2024 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)