docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDownload

    Provides a mechanism to inspect the progress and result of a download or file access request

    Inherited Members
    IDisposable.Dispose()
    Namespace: GLTFast.Loading
    Syntax
    public interface IDownload : IDisposable

    Properties

    Data

    Resulting data

    Declaration
    byte[] Data { get; }
    Property Value
    Type Description
    Byte[]

    Error

    Error message in case the request failed. Null otherwise.

    Declaration
    string Error { get; }
    Property Value
    Type Description
    String

    IsBinary

    True if the result is a glTF-binary, false if it is not. No value if determining the glTF type was not possible or failed.

    Declaration
    bool? IsBinary { get; }
    Property Value
    Type Description
    Nullable<Boolean>

    Success

    True, if the request was successful

    Declaration
    bool Success { get; }
    Property Value
    Type Description
    Boolean

    Text

    Resulting data as text

    Declaration
    string Text { get; }
    Property Value
    Type Description
    String
    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