docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelConfiguratorExtensions

    Extends the ModelConfigurator with methods to use Unity.Cloud.Assets.IDataset.

    Inheritance
    object
    ModelConfiguratorExtensions
    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.AssetManager
    Assembly: Unity.Cloud.DataStreaming.Runtime.AssetManager.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 Unity.Cloud.Assets.IAsset with the specified Unity.Cloud.Common.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 Unity.Cloud.Assets.IAsset.

    string tag

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

    string fileName

    Name of the root tileset.

    IServiceHttpClient serviceHttpClient

    The Unity.Cloud.Common.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 Unity.Cloud.Assets.IAsset with the specified Unity.Cloud.Common.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 Unity.Cloud.Assets.IAsset.

    string tag

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

    IServiceHttpClient serviceHttpClient

    The Unity.Cloud.Common.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 Unity.Cloud.Assets.IAsset with the specified Unity.Cloud.Common.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 Unity.Cloud.Assets.IAsset.

    IServiceHttpClient serviceHttpClient

    The Unity.Cloud.Common.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 Unity.Cloud.Assets.IDataset with the specified Unity.Cloud.Common.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 Unity.Cloud.Assets.IDataset.

    string fileName

    Name of the root tileset.

    IServiceHttpClient serviceHttpClient

    The Unity.Cloud.Common.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 Unity.Cloud.Assets.IDataset with the specified Unity.Cloud.Common.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 Unity.Cloud.Assets.IDataset.

    IServiceHttpClient serviceHttpClient

    The Unity.Cloud.Common.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)