Class Artwork
Represents the artwork for a media item.
This class can be used to store the artwork as a Sprite, and it can also handle the conversion to and from Base64 strings for serialization.
It supports different image types to determine how the image data should be handled when sending it to the native player.
Inheritance
object
Artwork
Assembly: .dll
[Serializable]
public class Artwork
Fields
|
Edit this page
View Source
Declaration
Field Value
|
Edit this page
View Source
Declaration
public ImageType imageType
Field Value
|
Edit this page
View Source
Declaration
public string persistentDataPath
Field Value
|
Edit this page
View Source
Declaration
Field Value
|
Edit this page
View Source
Declaration
public UnityEngine.Object streamingAsset
Field Value
|
Edit this page
View Source
Declaration
public string streamingAssetsPath
Field Value
Operators
|
Edit this page
View Source
Declaration
public static implicit operator Sprite(Artwork artwork)
Parameters
Type |
Name |
Description |
Artwork |
artwork |
|
Returns
|
Edit this page
View Source
Declaration
public static implicit operator Artwork(Sprite sprite)
Parameters
Type |
Name |
Description |
Sprite |
sprite |
|
Returns