Class ColorUtil.LightUtil
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
Converts HSV (extracted from light and lightSat) to RGBA
public class ColorUtil.LightUtil
- Inheritance
-
ColorUtil.LightUtil
- Inherited Members
- Extension Methods
Constructors
LightUtil(float[], float[], byte[], byte[])
public LightUtil(float[] blockLights, float[] sunLights, byte[] hues, byte[] sats)
Parameters
Methods
ToRgba(uint, int)
public int ToRgba(uint light, int lightSat)