Reference · The realistic Earth's pure parts
AirSamplestype
How many samples the air takes: along the ray toward the camera and, at each of those, along the ray toward the Sun.
Import it
import type { AirSamples } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
interface AirSamples {
view: number;
light: number;
}
Members
| Name | Type | Description |
|---|---|---|
view | number | |
light | number |
Examples
import { AIR_QUALITY, type AirSamples } from "@johnmorrisdotca/chikyu-earth/realistic";
const light: AirSamples = AIR_QUALITY.light;
console.log(light.view, light.light);6 2What it prints (run when this page was built)