Class SimpleImageArtifact
Artifact that represents a simple image (the image doesn't support any operators).
Implements
Inherited Members
Namespace: Unity.Muse.Common
Assembly: solution.dll
Syntax
[Serializable]
public class SimpleImageArtifact : Artifact<Texture2D>, IEquatable<Artifact>
Constructors
Name | Description |
---|---|
SimpleImageArtifact(string, uint) |
Properties
Name | Description |
---|---|
FileExtension |
Methods
Name | Description |
---|---|
ConstructFromData(byte[]) | |
CreateFromData(byte[], bool) | Takes binary data and will attempt to deserialize it into its concrete Unity representation. Concrete implementations will throw exceptions or handle malformed incoming data |
CreateView() | |
Generate(Model) | |
GetPreview(ArtifactPreviewDelegate, bool) | |
ReadFromCache(out byte[]) | Will return the deserialized Unity representation of the cached artifact from the local machine. |
ReadFromCacheRaw() | |
RetryGenerate(Model) | |
WriteToCache(byte[]) | Writes the serialized Unity representation of this artifact to the GeneratedArtifactCache on the local machine. |