TEXTURE_FAR_BASE定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where the sharpest surface pictures are: the files of this exact version in the repository, on jsDelivr's GitHub address. The npm package holds only the two smaller widths, so a page that
never zooms in never fetches them. Set texture-far-base on an element to serve them yourself.
インポート
import { TEXTURE_FAR_BASE } from "@johnmorrisdotca/wakusei-planets/element";
定義
const TEXTURE_FAR_BASE: "https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v0.24.0/textures/" = `https://cdn.jsdelivr.net/gh/johnmorrisdotca/wakusei-planets@v${VERSION}/textures/`
例
import { TEXTURE_FAR_BASE } from "@johnmorrisdotca/wakusei-planets/element";
console.log(TEXTURE_FAR_BASE);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。