docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ModelAssetExtensions

    Represents extensions for the ModelAsset class.

    Inheritance
    object
    ModelAssetExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Sentis
    Assembly: solution.dll
    Syntax
    public static class ModelAssetExtensions

    Methods

    Name Description
    CreateWorker(ModelAsset, DeviceType, bool)

    Initializes and returns an instance of IWorker with a modelAsset to execute. Sentis selects the best backend type available for device.

    This is a convenience method that internally calls ModelLoader.Load followed by WorkerFactory.CreateWorker.

    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)