|
AdaptySDK 4.1.1
|
Custom asset representing local image data. More...
Package Functions | |
| AdaptyCustomAssetLocalImageData (byte[] data) | |
Properties | |
| static string | Type [get] |
| byte[] | _Data [get] |
| byte[] | Data [get] |
| The image data as byte array. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from AdaptySDK.AdaptyCustomAsset | |
| static AdaptyCustomAsset | LocalImageData (byte[] data) |
| Creates a custom asset from local image data. | |
| static AdaptyCustomAsset | LocalImageAsset (string assetId) |
| Creates a custom asset from a local image asset ID. | |
| static AdaptyCustomAsset | LocalImageFile (string path) |
| Creates a custom asset from a local image file path. | |
| static AdaptyCustomAsset | LocalVideoAsset (string assetId) |
| Creates a custom asset from a local video asset ID. | |
| static AdaptyCustomAsset | LocalVideoFile (string path) |
| Creates a custom asset from a local video file path. | |
| static AdaptyCustomAsset | Color (Color color) |
| Creates a custom asset from a Unity Color. | |
| static AdaptyCustomAsset | LinearGradient (Gradient gradient) |
| Creates a custom asset from a Unity Gradient. | |
Custom asset representing local image data.
|
package |
|
getprivate |
|
get |
The image data as byte array.
A copy, as is the array the asset was built from: the request must not change because the caller kept writing into the array it handed over, or into this one. For a large image that is a real copy each way - hold the result if you need it twice.
|
staticgetprivate |