AirSamples型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How many samples the air takes: along the ray toward the camera and, at each of those, along the ray toward the Sun.
インポート
import type { AirSamples } from "@johnmorrisdotca/chikyu-earth/realistic";
定義
interface AirSamples {
view: number;
light: number;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
view | number | |
light | number |
例
import { AIR_QUALITY, type AirSamples } from "@johnmorrisdotca/chikyu-earth/realistic";
const light: AirSamples = AIR_QUALITY.light;
console.log(light.view, light.light);6 2出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。