public final class ChromaticitySpectrum extends SpectralCurve
| Constructor and Description |
|---|
ChromaticitySpectrum(float x,
float y) |
| Modifier and Type | Method and Description |
|---|---|
static XYZColor |
get(float x,
float y) |
float |
sample(float lambda)
This function determines the actual spectral curve data.
|
toXYZpublic float sample(float lambda)
SpectralCurvesample in class SpectralCurvelambda - wavelength to sample in nanometerspublic static final XYZColor get(float x, float y)