docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomHeaderTextureDownload

    Texture download that allows modifying the HTTP request before it's sent

    Inheritance
    object
    AwaitableDownload
    AwaitableTextureDownload
    CustomHeaderTextureDownload
    Implements
    ITextureDownload
    IDownload
    IDisposable
    Inherited Members
    AwaitableTextureDownload.CreateRequest(Uri, bool)
    AwaitableTextureDownload.Texture
    AwaitableDownload.m_Request
    AwaitableDownload.m_AsyncOperation
    AwaitableDownload.WaitAsync()
    AwaitableDownload.Success
    AwaitableDownload.Error
    AwaitableDownload.Data
    AwaitableDownload.Text
    AwaitableDownload.IsBinary
    AwaitableDownload.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast.Loading
    Assembly: glTFast.dll
    Syntax
    public class CustomHeaderTextureDownload : AwaitableTextureDownload, ITextureDownload, IDownload, IDisposable

    Constructors

    CustomHeaderTextureDownload(Uri, bool, Action<UnityWebRequest>)

    Constructs an ITextureDownload with a modifier

    Declaration
    public CustomHeaderTextureDownload(Uri url, bool nonReadable, Action<UnityWebRequest> editor)
    Parameters
    Type Name Description
    Uri url

    URI to request

    bool nonReadable

    If true, resulting texture is not readable (uses less memory)

    Action<UnityWebRequest> editor

    Callback that modifies the UnityWebRequest before it's sent

    Implements

    ITextureDownload
    IDownload
    IDisposable
    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)