docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate LoadTextureCallback

    Response callback for for async texture load operations

    Namespace: Unity.AR.Companion.CloudStorage
    Assembly: solution.dll
    Syntax
    public delegate void LoadTextureCallback(bool success, long responseCode, Texture2D texture, byte[] payload)
    Parameters
    Type Name Description
    bool success

    True if the request succeeded

    long responseCode

    The HTTP response code

    Texture2D texture

    The response payload as a Texture2D, or null if the response failed or the payload is not a valid image

    byte[] payload

    The raw response payload as a byte[], or the error string as a byte[]

    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)