docs.unity3d.com
Search Results for

    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
    Assembly: glTFast.dll
    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
    bool?

    Success

    True, if the request was successful

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

    Text

    Resulting data as text

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