docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetArtifactStatus

    GetArtifactStatus<TArtifactType>(Artifact<TArtifactType>, ArtifactProgressCallback, bool)

    Starts polling for the status of artifact generation. Will return the status through the supplied callback. This is not cancellable as many chained web requests can be generated by polling until copleted. TODO: Don't do that.

    Declaration
    public static void GetArtifactStatus<TArtifactType>(Artifact<TArtifactType> artifact, GenerativeAIBackend.ArtifactProgressCallback onStatusReceived, bool pollUntilCompletedOrFailed = true)
    Parameters
    Type Name Description
    Artifact<TArtifactType> artifact

    The artifact you wish to query the status of

    GenerativeAIBackend.ArtifactProgressCallback onStatusReceived

    The callback to receive the update from. This is guaranteed to run on the Unity main thread. Cannot be null

    bool pollUntilCompletedOrFailed
    Type Parameters
    Name Description
    TArtifactType

    The concrete artifact Unity type you are polling for

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023