Reference · Facts, line drawings and positions
PortraitPresettype
A ready-made scene with its name in English and Japanese.
Import it
import type { PortraitPreset } from "@johnmorrisdotca/wakusei-planets";
Definition
interface Preset {
id: string;
name: {
en: string;
ja: string;
};
scene: Portrait;
}
Members
| Name | Type | Description |
|---|---|---|
id | string | |
name | { en: string; ja: string; } | |
scene | Portrait |
Examples
import { PORTRAIT_PRESETS, type PortraitPreset } from "@johnmorrisdotca/wakusei-planets";
const first: PortraitPreset = PORTRAIT_PRESETS[0]!;
console.log(first.id, first.name.en);family Family photoWhat it prints (run when this page was built)