VoxelVariant¶
Namespace Nfty.Core.Stats in assembly Nfty.Core.
What a single variant's artwork does about transparency.
Constructors¶
VoxelVariant(string, string, string, int, int)¶
public VoxelVariant(string IngredientName, string VariantName, string VariantId, int Pixels, int Partial);
Parameters
IngredientName(string) - The layer the variant belongs to.VariantName(string) - The variant's display name.VariantId(string) - Its id — what--variantexpects.Pixels(int) - Total pixels in the image.Partial(int) - Pixels whose alpha is neither fully opaque nor fully erased.
Properties¶
IngredientName¶
The layer the variant belongs to.
IsClean¶
Whether this variant voxelizes cleanly — every pixel wholly there or wholly absent.
Partial¶
Pixels whose alpha is neither fully opaque nor fully erased.
PartialPercent¶
The share of the image that is only partly there, 0-100.
Pixels¶
Total pixels in the image.
VariantId¶
Its id — what --variant expects.
VariantName¶
The variant's display name.