LayerSelection¶
Namespace Nfty.Core.Generation in assembly Nfty.Ticket.
What one layer contributed to an asset, in the form the DNA hashes.
Constructors¶
LayerSelection(string, string, double?, double?, int, int)¶
public LayerSelection(string IngredientId, string VariantId, double? Hue, double? Sat, int HueQuantize, int SatQuantize);
Parameters
IngredientId(string) - The layer.VariantId(string) - The variant rolled.Hue(double?) - The rolled hue, or null for a Custom layer.Sat(double?) - The rolled saturation as a 0..1 fraction, or null for a Custom layer.HueQuantize(int) - Hue bucket width used when hashing.SatQuantize(int) - Saturation bucket width used when hashing.
Properties¶
Hue¶
The rolled hue, or null for a Custom layer.
HueQuantize¶
Hue bucket width used when hashing.
IngredientId¶
The layer.
Sat¶
The rolled saturation as a 0..1 fraction, or null for a Custom layer.
SatQuantize¶
Saturation bucket width used when hashing.
VariantId¶
The variant rolled.