Class CustomHeaderTextureDownload
Texture download that allows modifying the HTTP request before it's sent
Inherited Members
Namespace: GLTFast.Loading
Assembly: solution.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 |