public class FluidColorAnalyzer
extends java.lang.Object
| Constructor and Description |
|---|
FluidColorAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
calculateAverageColors()
Forces the color analyzer to calculate all average colors for all fluid
groups and cache them for later use.
|
static org.lwjgl.util.Color |
getAverageColor(FluidGroup fluidGroup)
Gets the cached average color of the given fluid group
|
public static void calculateAverageColors()
public static org.lwjgl.util.Color getAverageColor(FluidGroup fluidGroup)
fluidGroup - the fluid group