リファレンス
three.js での描き方
import { … } from "@johnmorrisdotca/wakusei-planets/look";
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
Atmosphere | 型 | A rim of air: the colour it scatters (0 to 1 each), how strong it is and how thin the rim is. |
BodyLook | 型 | What a body looks like in three.js: the shader code of its surface, how it glows, its atmosphere and its painted map. |
lookOf | 関数 | The look registered for a body, or undefined when its entry point has not been imported. |
PaintedMap | 型 | The painted look of a body: a surface map in the package's textures folder, as widths from the smallest up. |
registerLook | 関数 | Teach the package how to draw a body in three.js. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。