Base64.decodeTextureAsync
FunctionDecode a texture from Base64, asynchronously.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
decodeTextureAsync(
value,onSuccess,onFailure):void
Decode a texture from Base64, asynchronously.
Parameters
| Parameter | Type |
|---|---|
value | string |
onSuccess | (decodedTexture) => void |
onFailure | () => void |
Returns
void