Class PaletteSpreadSource.Builder
java.lang.Object
dev.lukebemish.dynamicassetgenerator.api.client.generators.texsources.PaletteSpreadSource.Builder
- Enclosing class:
PaletteSpreadSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setPaletteCutoff(double paletteCutoff) Sets the cutoff for the palette.Sets the input texture to map the colors of.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setSource
Sets the input texture to map the colors of. -
setPaletteCutoff
Sets the cutoff for the palette. Colors within this Euclidean distance to each other, in integer RGB space, will be considered identical. Defaults to 3.5. -
build
-