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[] |