GeneratedAsset¶
Namespace Nfty.Core.Generation in assembly Nfty.Core.
One finished asset. Owns its composited GeneratedAsset.Image: dispose the asset (or the GeneratedSet holding it) once the pixels have been written or drawn.
Constructors¶
GeneratedAsset()¶
Properties¶
AbsentLayers¶
The layers this roll left out entirely. Empty for every asset of a recipe with no optional layers, which is every asset generated before they existed.
ColorRolls¶
The per-layer color record for the rich metadata.
Dna¶
Its identity hash.
Image¶
The composited artwork. Owned by this asset.
RecipeId¶
The recipe it was rolled from.
RecipeName¶
That recipe's display name, published as the "Type" trait.
SetNumber¶
The asset's number within the Set.
Traits¶
What each layer contributed.
Methods¶
Dispose()¶
Frees the composited artwork.