MotionKind型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a moving group does: spin turns without end at rate degrees a second; swing goes from rest to to and back, with holds; sweep goes from from to to and back like a pendulum; slide moves along its axis from from to travel metres and back, on the same holds as a swing.
インポート
import type { MotionKind } from "@johnmorrisdotca/uchusen-rockets";
定義
type MotionKind = "spin" | "swing" | "sweep" | "slide";
例
import type { MotionKind } from "@johnmorrisdotca/uchusen-rockets";
const kind: MotionKind = "spin";
console.log(kind);spin出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。