diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0313e97..811fa4f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,8 +70,8 @@ jobs: run: bash scripts/format.sh --check # Linux regression gate: scripts/native-gate.sh (CI と手動 pre-push の単一ソース) で Release build -> C smoke tests -> C# runtime テスト -> サンプルの変換 -> 開発の道具の検査。 - # 視覚 golden の byte 比較は --skip-golden で外している: lavapipe の出力は mesa の version に依存し、runner の mesa はローカル生成の golden と一致しない。 - # CI の視覚 golden gate は windows job (WARP)、lavapipe golden はローカル pre-push の gate。 + # 視覚 golden の byte 比較は --skip-golden で外している (理由は scripts/run-golden.sh の先頭のコメント)。 + # CI の視覚 golden gate は windows job (WARP) と macos job、lavapipe golden はローカル pre-push の gate。 # mesa を container 等で pin できたら有効化する。 # native gate を部分 (--part) ごとの job に分けて並べる。lider の runtime テストは 2 つに分ける (LIDER_SHARD)。 linux: @@ -372,7 +372,7 @@ jobs: run: LUB_BACKEND=d3d12 LUB_D3D12_WARP=1 scripts/test-tcs-process-cleanup.sh ./build-release/lub.exe # どの D3D12 runtime(Agility SDK か inbox か)と WARP が載ったか、backend が見る feature flag を log に残す。 - # WARP は runner の inbox 版を使う (golden はその出力で撮ってある。NuGet 版は LSB が違う)。 + # WARP は runner の inbox 版を使う (理由は scripts/run-golden.sh の先頭のコメント)。 - name: d3d12 runtime info if: matrix.part == 'checks' shell: bash diff --git a/README.md b/README.md index b14bcb7f..c76414ab 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,7 @@ runtime は C/C++ と既存ライブラリで組む。 特定のアセット形式や GUI editor に依存せず、ゲームを構成する状態、描画、 入力、物理、音、debug 情報をコードから制御できる環境を目指す。 -現時点の実装は SDL3 + Slang + tcs VM を基盤にし、GPU backend は -native がプラットフォーム直接実装 (default — Windows: D3D12、 -Linux: Vulkan、macOS / iOS: Metal) と SDL3 GPU API (`sdlgpu`)、web が -webgpu.h 直接実装。 +現時点の実装は SDL3 + Slang + tcs VM を基盤にし、GPU backend は native がプラットフォームごとの直接実装 (D3D12、Vulkan、Metal) と SDL3 GPU API (`sdlgpu`)、web が webgpu.h 直接実装。 対応プラットフォームは Linux x86_64、Windows x86_64、macOS arm64、iOS arm64、Android arm64 (Meta Quest。tcs2c で C にしたゲームだけ。[docs/android.md](docs/android.md))、WebAssembly/WebGPU。 ## ドキュメント @@ -112,8 +109,7 @@ scripts/format.sh --check # 整形が必要か確認のみ (CI 向け / 非 依存: - C# の変換は TinyC# (`tcs/`) が行う。 - lub は実行ファイルの隣の `tcs/tcs` (`scripts/build-tcs-native.sh` が作る C の tcs) を最初に使い、無ければ PATH の dotnet SDK で `tcs/` の compiler を動かす。 - C の tcs を使うなら実行に dotnet は要らない (作るのには dotnet SDK が要る)。 + lub がどの tcs を使うか (dotnet が要るかどうか) は [docs/manual/08-csharp.md](docs/manual/08-csharp.md) の「dotnet の無い環境 (C の tcs)」にある。 サンプルは `samples//` に 1 つずつ自己完結する形で置く (`.cs` + `.csproj` + `data/`)。 @@ -174,25 +170,20 @@ scripts/run-golden.sh --update # golden 画像を再生成 (描画意図的 scripts/run-golden.sh --test TestIndexedDraw --backend sdlgpu ``` -Linux と Windows は機材非依存の CPU rasterizer を強制するので capture が -確定的になり、`cmp -s` で完全一致判定する。Linux は lavapipe + xvfb で -sdlgpu と vulkan を、Windows (git bash) は WARP (`LUB_D3D12_WARP=1`) で -d3d12 をチェックする。macOS は metal を実 GPU で描くので、Linux の golden -(`*_sdlgpu.png`) と許容差で比べる (`scripts/png-diff.py`)。 +OS ごとにどの backend をどう比べるか、byte 一致がどの条件で成り立つかは、`scripts/run-golden.sh` の先頭のコメントにある。 ## Backend 切替 lub は 5 つの GPU backend を持ち、同一 API で動く: -- `d3d12` — Windows の既定。D3D12 直接実装 - (設計は [docs/d3d12-backend.md](docs/d3d12-backend.md)) -- `vulkan` — Linux の既定。Vulkan 直接実装 (`src/backend_vulkan.c`)。Windows でも - Vulkan SDK が見つかる build では選べる。 - `LUB_BACKEND=openxr` はこの backend で OpenXR の headset に描く (Linux / Android。Android の既定。[docs/manual/07-xr.md](docs/manual/07-xr.md)) -- `metal` — macOS / iOS の既定。Metal 直接実装 - (設計は [docs/metal-backend.md](docs/metal-backend.md)) +- `d3d12` — D3D12 直接実装 (設計は [docs/d3d12-backend.md](docs/d3d12-backend.md)) +- `vulkan` — Vulkan 直接実装 (`src/backend_vulkan.c`)。 + `openxr` はこの backend で OpenXR の headset に描く ([docs/manual/07-xr.md](docs/manual/07-xr.md)) +- `metal` — Metal 直接実装 (設計は [docs/metal-backend.md](docs/metal-backend.md)) - `sdlgpu` — SDL3 GPU API 経由の実装 (Windows / Linux の代替 backend) -- `webgpu` — web build の実体 (webgpu.h 直接)。web では backend 指定は無視される +- `webgpu` — web build の実体 (webgpu.h 直接) + +どの platform で選べるかと、未指定のときの既定は、API reference の `ConfigOpts.Backend` にある。 設計記録は [docs/log/2026-06-22-native-backend-design.md](docs/log/2026-06-22-native-backend-design.md)、 整理方針は [docs/log/2026-07-07-backend-consolidation.md](docs/log/2026-07-07-backend-consolidation.md)。 diff --git a/cs-lib/lub_stub.cs b/cs-lib/lub_stub.cs index 3679d359..9ed7a963 100644 --- a/cs-lib/lub_stub.cs +++ b/cs-lib/lub_stub.cs @@ -2644,8 +2644,7 @@ public class ConfigOpts { /// /// GPU backend。 - /// native では "d3d12" (Windows の既定) / "vulkan" (Linux の既定。 - /// Windows は Vulkan SDK がある build のみ) / "metal" (macOS / iOS の既定) / "sdlgpu"。 + /// native では "d3d12" (Windows の既定) / "vulkan" (Linux の既定。Windows は Vulkan SDK がある build のみ) / "metal" (macOS / iOS の既定) / "openxr" (vulkan で OpenXR の headset に描く。Linux と Android の build のみで、Android の既定) / "sdlgpu"。 /// web (WASM) は webgpu のみで、指定は無視される。 /// 未指定 (null) なら既定のまま。 /// diff --git a/docs/api-glue.md b/docs/api-glue.md index 314d4145..e7fe588a 100644 --- a/docs/api-glue.md +++ b/docs/api-glue.md @@ -127,7 +127,7 @@ hot reload は `.batch` (tcs vm の差分。`tvm_apply_batch` で当て `OnQuit` の後に新しい VM で `OnInit` から始める。`.errors` (通らなかった build の診断) があれば、読んで消し、`OnBuildFailed` に渡す (`App.Use` で開いた app では `App.Status` の `BuildError` に入る)。 web の player の page (`player.html`) はこの player (`build/wasm/vm/lub.js`) を使う。web のサイトの入口 (lider) では、lider が player に組み込んだ tcs でゲームを変換する。 -`lub Game.csproj` は入力 (csproj のディレクトリと `Lub="Source"` の参照先の下の `*.cs`、cs-lib の実装。`*.ref.cs` は `--ref`) の一覧を `.lub/.inputs` に書き、`tcs vm --watch --inputs-from` を背後に張る (`src/vm_project.c`)。 +`lub Game.csproj` は入力 (何を読むかは `docs/manual/08-csharp.md` の「csproj から lub が読むもの」) の一覧を `.lub/.inputs` に書き、`tcs vm --watch --inputs-from` を背後に張る (`src/vm_project.c`)。 一覧は 0.3 秒ごとに探し直すので、file を足すか消すとそのまま変換し直す。 差分は `@@tcs_vm_batch` の frame で届き、当ててから entry の `OnReload` を呼ぶ。 その差分に `@@tcs_reload_notes` の frame (生きている instance に入らない instance の field の初期化子の変更など) が先に届いていれば、`OnReload` の後に `OnReloadNotes(notes)` に渡す。 diff --git a/docs/d3d12-backend.md b/docs/d3d12-backend.md index 0993eba7..0f17c67c 100644 --- a/docs/d3d12-backend.md +++ b/docs/d3d12-backend.md @@ -23,8 +23,8 @@ descriptor heap・resource state など D3D12 固有の概念はすべて Windows 10 1909 以降。起動時に `d3d12: runtime:` で載った runtime の path、 `d3d12: enhanced barriers:` で feature flag を log する。 - WARP: `-DLUB_FETCH_WARP=ON` で NuGet `Microsoft.Direct3D.WARP` の - `d3d10warp.dll` を exe の隣に置ける(新しい WARP を試すとき用)。CI と - golden は runner の inbox WARP で、NuGet 版とは出力の LSB が違う。 + `d3d10warp.dll` を exe の隣に置ける(新しい WARP を試すとき用)。 + golden との関係は `scripts/run-golden.sh` の先頭のコメント。 - HWND は SDL3 window の `SDL_PROP_WINDOW_WIN32_HWND_POINTER`。 - Debug build または `LUB_D3D12_DEBUG=1` で debug layer を有効化(Agility SDK の device factory にも設定する)。WARNING 以上の validation メッセージを @@ -122,8 +122,6 @@ descriptor heap・resource state など D3D12 固有の概念はすべて ## Golden test -`scripts/run-golden.sh` は Windows (git bash) では d3d12 backend を -WARP(`LUB_D3D12_WARP=1`、Microsoft のソフトウェアラスタライザ)で回し、 -`tests/golden/_d3d12.png` と byte 比較する。lavapipe と同じく -機材・ドライバ非依存の CPU rasterizer なので `cmp -s` の完全一致が成立する。 +`scripts/run-golden.sh` は Windows (git bash) では d3d12 backend を WARP (`LUB_D3D12_WARP=1`、Microsoft のソフトウェアラスタライザ) で回し、`tests/golden/_d3d12.png` と byte 比較する。 +byte 一致が成り立つ条件は `scripts/run-golden.sh` の先頭のコメントにある。 実 GPU での動作確認は別途 capture 目視で行う。 diff --git a/docs/design.md b/docs/design.md index dfd1b5e8..e149cb19 100644 --- a/docs/design.md +++ b/docs/design.md @@ -36,7 +36,7 @@ tcs2c は tcs2c で C にしたゲームを lub と静的に link する経路 ( 数値は両方 f32 で、Math の超越関数も同じ実装 (次の段落) なので絵も揃う。 golden 画像 (`tests/golden/_.png`) は tcs VM の player で撮る。 -ゲームの論理の計算は OS をまたいで決定的にする。数値は f32 で、四則演算と sqrt / floor / fmod などは IEEE-754 で結果が決まる。結果が実装で変わる超越関数 (sin / cos / tan / atan2 / exp / log / pow) は tcs が 1 つの実装 (`tcs/runtime/math`、三角関数系と log10 は CORE-MATH、exp / log / log2 / pow は musl の Arm 由来) を持つ。tcs2c の生成 C はそれを埋め込み、tcs VM は lub が link する同じ実装 (CMake の `tcs_runtime`) を呼び、.NET 実行は TinySystem.Math (同じ手順の C# 版) を呼ぶ。.NET の project は tcs の `TinySystem.props` を Import して、`Math` / `MathF` を TinySystem.Math にする。C のソースは FMA への融合などで結果が変わらないようにコンパイルを固定する。CI は決まった入力列の結果の hash を、Windows / Linux / macOS / iOS / web と tcs2c と .NET の経路で 1 つの期待値と比べる (`tests/cs/TestMathDeterminism.cs`)。 +ゲームの論理の計算は OS をまたいで決定的にする。数値は f32 で、四則演算と sqrt / floor / fmod などは IEEE-754 で結果が決まる。結果が実装で変わる超越関数 (一覧は tcs の `doc/il-spec.md` の 13 節) は tcs が 1 つの実装 (`tcs/runtime/math`。元にしたライブラリは各 file の先頭に書く) を持つ。tcs2c の生成 C はそれを埋め込み、tcs VM は lub が link する同じ実装 (CMake の `tcs_runtime`) を呼び、.NET 実行は TinySystem.Math (同じ手順の C# 版) を呼ぶ。.NET の project は tcs の `TinySystem.props` を Import して、`Math` / `MathF` を TinySystem.Math にする。C のソースは FMA への融合などで結果が変わらないようにコンパイルを固定する。CI は決まった入力列の結果の hash を、Windows / Linux / macOS / iOS / web と tcs2c と .NET の経路で 1 つの期待値と比べる (`tests/cs/TestMathDeterminism.cs`)。 ## Non-Goals @@ -109,14 +109,9 @@ log、capture、resource dump、runtime state dump のような情報取得は ## Current Constraints -- backend は `d3d12` (Windows) / `vulkan` (Linux、Android、SDK が見つかる Windows) / - `metal` (macOS / iOS) / `sdlgpu` (Windows / Linux の代替) / `webgpu` - (web のみ)。未指定時の既定は Windows: d3d12、Linux: vulkan、 - macOS / iOS: metal、Android (Meta Quest): openxr (vulkan で OpenXR の headset に描く。`docs/android.md`)、web: webgpu。golden は Windows は WARP、Linux は - lavapipe で撮る (`docs/d3d12-backend.md`)。macOS と iOS simulator は - runner の GPU で描き、Linux の golden と許容差で比べる - (`docs/metal-backend.md`)。backend 構成の整理方針は - `docs/log/2026-07-07-backend-consolidation.md`。 +- backend の値と、platform ごとの未指定のときの既定は、API reference の `ConfigOpts.Backend` (`cs-lib/lub_stub.cs`)。 + golden の撮り方と比べ方は `scripts/run-golden.sh` の先頭のコメント。 + backend 構成の整理方針は `docs/log/2026-07-07-backend-consolidation.md`。 - iOS の player は shader compiler と transpiler を持たない。 生成済みの bytecode (`.tcsb`) と shader cache を同梱した app として動く (`docs/metal-backend.md`)。 - swapchain capture (`--capture`) は native と web の両方にある。ゲームが任意の render target を読むのは `Gfx.Readback()`。 diff --git a/docs/manual/06-lub-lubx.md b/docs/manual/06-lub-lubx.md index bd8b528e..ba347664 100644 --- a/docs/manual/06-lub-lubx.md +++ b/docs/manual/06-lub-lubx.md @@ -21,14 +21,14 @@ core API にしない方針。既存エンジンとの API 互換も目標にし ## lubx — C# ライブラリ層 -`lubx`(`cs-lib/lubx`、namespace `Lubx`)は `Lub.*` の上に純粋な C# で書かれた便利層。 +`lubx`(`cs-lib/lubx`、namespace `Lubx`)は `Lub.*` の上に C# で書かれた便利層。 +C のライブラリが要る所 (Ogg Vorbis の decode など) だけは C の実装を持つ (`docs/api-glue.md` の「lubx の C の面」)。 `SpriteBatch` / `Atlas` / `Shapes` / `Text`(2D 描画)、 `Renderer3d` / `Mesh3d` / `Shapes3d` / `Bones`(3D レンダラ。設計記録は `docs/log/2026-07-12-renderer3d-design.md`)、 `Camera2d` / `Camera3d`、`Assets`、`Rand`、`Sfx` など。 -runtime の機能ではないので、ソースを読めばすべて `Lub.*` の呼び出しに -分解できる。挙動を変えたければ自分のプロジェクトに写して改造してよい -層であり、lubx に無い機能は同じやり方で自作できる。 +runtime の機能ではないので、C の実装を持つ所を除けば、ソースを読むと `Lub.*` の呼び出しに分解できる。 +挙動を変えたければ自分のプロジェクトに写して改造してよい層であり、lubx に無い機能は同じやり方で自作できる。 ## key の付け方 diff --git a/docs/manual/08-csharp.md b/docs/manual/08-csharp.md index 2e5e2ea0..b6900e2d 100644 --- a/docs/manual/08-csharp.md +++ b/docs/manual/08-csharp.md @@ -3,7 +3,7 @@ lub のゲームコードは C# で書く。 使うのは [tcs (TinyC#)](https://github.com/neguse/lub/tree/master/tcs) — C# のサブセットを tcs VM の bytecode (`.tcsb`) に変換するコンパイラ (release 向けに C にも変換できる) で、web のサイトの入口ではエディタ (lider) の player に組み込んだ tcs (tcs2c で C にした tcs) がブラウザ内で、native では lub が `tcs` を動かす。 dotnet が無い環境では、tcs2c で C にした tcs (C の tcs) を使う。 -実行ファイルの隣に C の tcs があれば、dotnet があってもそちらを先に使う (後述)。 +実行ファイルの隣に C の tcs があれば、dotnet があってもそちらを先に使う (探す順は後述)。 tcs の compiler は TinyC# 自身で書いた 1 つの実装で、dotnet、C の tcs、ブラウザのどれで動かしても同じ出力になる。 「フル C# が動く」わけではない。TinyC# は C# 構文の DSL であり、モダンな C# の書き味 (record / pattern / lambda / LINQ メソッドチェーン / nullable 型チェック) を保ちつつ、tcs VM と C に素直に落ちる小さな核だけをサポートする。 @@ -141,7 +141,7 @@ scripts/run-cs-sample.sh 09_breakout --check # 診断のみ (警告があ scripts/run-cs-sample.sh 09_breakout --vm # bytecode にする (samples/09_breakout/.lub/Breakout09.tcsb) ``` -`lub check .csproj` は `lub .csproj` と同じ入力 (entry のディレクトリの `*.cs` + cs-lib の実装 + stub) を tcs の `check` に渡す。 +`lub check .csproj` は `lub .csproj` と同じ入力 (下の「csproj から lub が読むもの」) と stub を tcs の `check` に渡す。 診断が無ければ終了コード 0、あれば診断を出して 1 で終わる。 画面が無い環境でも使える。 @@ -149,21 +149,34 @@ scripts/run-cs-sample.sh 09_breakout --vm # bytecode にする (samples/ tcs は compiler も CLI も TinyC# 自身で書いてあり、tcs2c で C にした実行ファイル (C の tcs) にできる。 C の tcs は dotnet の tcs と同じ実装で、変換の結果も hot reload の差分も同じになる。 -lub は実行ファイルの隣の `tcs/tcs` を最初に使う。 -release の一式は `bin/tcs/` に入っていて、dotnet は要らない。 +lub が使う tcs は次の順に探す。 +1. 環境変数 `LUB_TCS` (tcs を動かす command。空白で区切り、quote は読まない) +2. 実行ファイルの隣の `tcs/tcs` (C の tcs) +3. PATH に dotnet があれば、checkout の `tcs/` の compiler を `dotnet run` で動かす +4. PATH に dotnet が無ければ、checkout の `tcs/SelfHost/out/native/tcs` (tcs の `SelfHost/native.sh` の出力) + +release の一式は `bin/tcs/` に C の tcs が入っていて、dotnet は要らない。 手元の build では `scripts/build-tcs-native.sh ` が `/tcs` に作る (作るのに dotnet SDK と C compiler が要る)。 -`tcs/tcs` が無いときは、PATH に dotnet があれば `tcs` を `dotnet run` で動かし、無ければ `tcs/SelfHost/out/native/tcs` (tcs の `SelfHost/native.sh` の出力) を使う。 web のサイトの入口の変換も、同じ C の tcs をエディタ (lider) の player に組み込んだもの (`lider/README.md`) が行い、同じ増分 session で hot reload する。 何が生きたまま反映されて何が作り直しになるかは「ライフサイクルと hot reload」 の章を参照。 -csproj は lub にとっては entry 指定 (basename = entry class、入力 = 同 -ディレクトリ以下の全 `*.cs`。`bin/` `obj/` と `.` で始まるディレクトリは -除く) でしかないが、dotnet 側 (Rider / VS Code) では本物のプロジェクトとして -機能する: stub と TinySystem を参照し、TinyC# -サブセット逸脱は Roslyn Analyzer が IDE 上で TCS 診断として出す。 +## csproj から lub が読むもの + +lub は MSBuild で csproj を評価せず、次のものだけを読む。 + +- csproj の file 名の basename が entry class (`Breakout09.csproj` なら `Breakout09`) +- 入力は、csproj のディレクトリの下の `*.cs` 全部 (`bin/`、`obj/` と `.` で始まるディレクトリは除く) と、cs-lib の実装 (`cs-lib/lub/*.cs`、`cs-lib/lubx/*.cs`) +- `Lub="Source"` を付けた `ProjectReference` の参照先のディレクトリの下の `*.cs` も入力に足す (参照先の参照も辿る。`$(...)` の property を含む path は読まない) +- `*.ref.cs` は宣言だけの参照 (tcs の `--ref`) として渡す (隣に native の library を置いた native の拡張は `docs/api-glue.md`) + +```xml + +``` + +dotnet 側 (Rider / VS Code) では csproj は本物のプロジェクトとして働く: stub と TinySystem を参照し、TinyC# のサブセットから外れた書き方は Roslyn Analyzer が IDE 上で TCS 診断として出す。 ## .NET で実行する diff --git a/dotnet/Lub/Lub.g.cs b/dotnet/Lub/Lub.g.cs index 2819cfce..bbb07c2e 100644 --- a/dotnet/Lub/Lub.g.cs +++ b/dotnet/Lub/Lub.g.cs @@ -274,7 +274,7 @@ public class XrInput /// App.Config のオプション (OnInit 内でのみ有効)。 public class ConfigOpts { - /// GPU backend。 native では "d3d12" (Windows の既定) / "vulkan" (Linux の既定。 Windows は Vulkan SDK がある build のみ) / "metal" (macOS / iOS の既定) / "sdlgpu"。 web (WASM) は webgpu のみで、指定は無視される。未指定 (null) なら既定のまま。 + /// GPU backend。 native では "d3d12" (Windows の既定) / "vulkan" (Linux の既定。Windows は Vulkan SDK がある build のみ) / "metal" (macOS / iOS の既定) / "openxr" (vulkan で OpenXR の headset に描く。Linux と Android の build のみで、Android の既定) / "sdlgpu"。 web (WASM) は webgpu のみで、指定は無視される。未指定 (null) なら既定のまま。 public string? Backend; /// ウィンドウ幅 (px)。 `Height` とセットで指定する。 public int? Width; diff --git a/include/lub/lub_api.h b/include/lub/lub_api.h index 2c707937..38f4bfad 100644 --- a/include/lub/lub_api.h +++ b/include/lub/lub_api.h @@ -560,7 +560,7 @@ typedef struct LubXrInput { // App.Config のオプション (OnInit 内でのみ有効)。 typedef struct LubConfigOpts { LubStr - backend; // len 0 = 無し // GPU backend。 native では "d3d12" (Windows の既定) / "vulkan" (Linux の既定。 Windows は Vulkan SDK がある build のみ) / "metal" (macOS / iOS の既定) / "sdlgpu"。 web (WASM) は webgpu のみで、指定は無視される。未指定 (null) なら既定のまま。 + backend; // len 0 = 無し // GPU backend。 native では "d3d12" (Windows の既定) / "vulkan" (Linux の既定。Windows は Vulkan SDK がある build のみ) / "metal" (macOS / iOS の既定) / "openxr" (vulkan で OpenXR の headset に描く。Linux と Android の build のみで、Android の既定) / "sdlgpu"。 web (WASM) は webgpu のみで、指定は無視される。未指定 (null) なら既定のまま。 bool has_width; int32_t width; // ウィンドウ幅 (px)。 `Height` とセットで指定する。 bool has_height; diff --git a/scripts/run-golden.sh b/scripts/run-golden.sh index 1e044558..939293b5 100755 --- a/scripts/run-golden.sh +++ b/scripts/run-golden.sh @@ -12,11 +12,13 @@ # scripts/run-golden.sh --backend sdlgpu # # Determinism relies on: -# - a machine-independent CPU rasterizer - Linux: lavapipe (CPU Vulkan, -# required below; run-headless.sh forces it) / Windows: WARP via +# - a CPU rasterizer that does not depend on the GPU - Linux: lavapipe (CPU +# Vulkan, required below; run-headless.sh forces it) / Windows: WARP via # LUB_D3D12_WARP=1 # - fixed --capture-frame and --fixed-dt - set below to FRAME and 1/60 s # - --readback-fixed-latency: a readback arrives exactly 2 frames later +# The rasterizer's output still depends on its version. lavapipe の出力は mesa の版で変わるので、Linux の golden はそれを作った mesa の版でだけ byte 一致し、CI の linux job はこの比較を外す (native-gate.sh --skip-golden)。 +# Windows の golden は CI の runner の inbox の WARP で撮ってあり、NuGet の WARP (-DLUB_FETCH_WARP=ON) とは出力の LSB が違う。 # Exit code is 0 only if every checked visual golden matches. # # Platform selects the backend set: Linux checks sdlgpu and vulkan diff --git a/web/gen/lub-api-docs.json b/web/gen/lub-api-docs.json index 727154a1..b2ab6c06 100644 --- a/web/gen/lub-api-docs.json +++ b/web/gen/lub-api-docs.json @@ -563,7 +563,7 @@ "name": "Backend", "kind": "field", "signature": "string? Backend", - "doc": "GPU backend。 native では \"d3d12\" (Windows の既定) / \"vulkan\" (Linux の既定。 Windows は Vulkan SDK がある build のみ) / \"metal\" (macOS / iOS の既定) / \"sdlgpu\"。 web (WASM) は webgpu のみで、指定は無視される。未指定 (null) なら既定のまま。" + "doc": "GPU backend。 native では \"d3d12\" (Windows の既定) / \"vulkan\" (Linux の既定。Windows は Vulkan SDK がある build のみ) / \"metal\" (macOS / iOS の既定) / \"openxr\" (vulkan で OpenXR の headset に描く。Linux と Android の build のみで、Android の既定) / \"sdlgpu\"。 web (WASM) は webgpu のみで、指定は無視される。未指定 (null) なら既定のまま。" }, { "name": "Width", @@ -602,7 +602,7 @@ "path": "EventData", "name": "EventData", "module": "Lub.App", - "file": "cs-lib/lub_stub.cs#L4982", + "file": "cs-lib/lub_stub.cs#L4981", "doc": "OnEvent に 1 件ずつ届く入力 event。 Kind ごとに使う field が決まる: KeyDown / KeyUp は Key (scancode)、MouseButtonDown / MouseButtonUp は Button と X / Y、MouseMotion は X / Y と Dx / Dy、MouseWheel は Dx / Dy、WindowResize は X / Y (pixel size)。", "members": [ { @@ -1575,7 +1575,7 @@ "path": "PickHit", "name": "PickHit", "module": "Lub.Gfx", - "file": "cs-lib/lub_stub.cs#L4893", + "file": "cs-lib/lub_stub.cs#L4892", "doc": "Gfx.PickResult の結果。 Draw はその frame の中の draw の番号 (0 始まり、何も描いていなければ -1)。 Site は Draw を呼んだ所の並び (内側から 1 行に 1 つ、\"file:line\")。並びを作るのは player で、作れない player では空。 Self は Site と同じ並びの、段ごとの this の個体の Id (InspectNode.Id と同じ書き方)。 this の無い段は空の行で、tcs VM の player の --trace で変換したソースの class の instance のメソッドの段だけが Id を持つ (ほかの player では空)。", "members": [ { @@ -1966,7 +1966,7 @@ "path": "MeshData", "name": "MeshData", "module": "Lub.Io", - "file": "cs-lib/lub_stub.cs#L2687", + "file": "cs-lib/lub_stub.cs#L2686", "doc": "SurfaceNets / SdfMesh / LoadGltf 共通のメッシュ規約。", "members": [ { @@ -2066,7 +2066,7 @@ "path": "SdfBone", "name": "SdfBone", "module": "Lub.Io", - "file": "cs-lib/lub_stub.cs#L2709", + "file": "cs-lib/lub_stub.cs#L2708", "doc": "SdfMesh の bone (skinning 部位)。 X / Y / Z は pivot。", "members": [ { @@ -2100,7 +2100,7 @@ "path": "GltfMaterial", "name": "GltfMaterial", "module": "Lub.Io", - "file": "cs-lib/lub_stub.cs#L2736", + "file": "cs-lib/lub_stub.cs#L2735", "doc": "glTF の material。", "members": [ { @@ -2176,7 +2176,7 @@ "path": "GltfPrimitive", "name": "GltfPrimitive", "module": "Lub.Io", - "file": "cs-lib/lub_stub.cs#L2754", + "file": "cs-lib/lub_stub.cs#L2753", "doc": "glTF の primitive 1 つ (MeshData + material)。", "members": [ { @@ -2204,7 +2204,7 @@ "path": "GltfMesh", "name": "GltfMesh", "module": "Lub.Io", - "file": "cs-lib/lub_stub.cs#L2765", + "file": "cs-lib/lub_stub.cs#L2764", "doc": "Io.LoadGltf の結果。 top-level は Primitives[0] の写し。", "members": [ { @@ -2597,7 +2597,7 @@ "path": "SdfNodeDesc", "name": "SdfNodeDesc", "module": "Lub.Mesh", - "file": "cs-lib/lub_stub.cs#L2724", + "file": "cs-lib/lub_stub.cs#L2723", "doc": "sdf の木の node (平らな配列の要素)。 A / B は子の index (0 始まり、無しは -1)。 Params は op ごとの数値列 (並びは Lubx の Sdf の builder の引数と同じ)。形: sphere: r、box: hx hy hz、capsule: ax ay az bx by bz r、torus: rmajor rminor、round_cone: ax ay az bx by bz ra rb、round_box / box_frame: hx hy hz e、ellipsoid: rx ry rz、capped_cylinder: ax ay az bx by bz r、capped_cone: ax ay az bx by bz ra rb、rounded_cylinder: r h e、capped_torus: angle rmajor rminor、link: le rmajor rminor、hex_prism / tri_prism: h depth、octahedron: s、pyramid: w h、cut_sphere: r h、solid_angle: angle r、rhombus: la lb h r、vesica: ax ay az bx by bz w。演算: move: x y z、rotate: qx qy qz qw、scale: s、mirror_x / mirror_y / mirror_z: なし、elongate: hx hy hz、twist / bend: k、repeat: sx sy sz nx ny nz、polar_repeat: n、revolve: o、extrude: h、displace: amp freq octaves seed、round: r、onion: t、paint: cr cg cb metallic roughness、bone: px py pz、smin / ssub / smax: k、union_chamfer / intersect_chamfer / subtract_chamfer / pipe / engrave: r、union_stairs: r n、groove / tongue: ra rb、union / subtract / intersect / xor: なし。 Name は bone。", "members": [ { @@ -2679,7 +2679,7 @@ "path": "GlyphBitmap", "name": "GlyphBitmap", "module": "Lub.Font", - "file": "cs-lib/lub_stub.cs#L2779", + "file": "cs-lib/lub_stub.cs#L2778", "doc": "Font.Glyph が返すビットマップ。 Bytes は R8 coverage。空グリフは Bytes 無し。", "members": [ { @@ -2725,7 +2725,7 @@ "path": "GlyphMesh", "name": "GlyphMesh", "module": "Lub.Font", - "file": "cs-lib/lub_stub.cs#L2793", + "file": "cs-lib/lub_stub.cs#L2792", "doc": "Font.GlyphMesh が返すメッシュ (MeshData 規約 + advance)。", "members": [ { @@ -2747,7 +2747,7 @@ "path": "FontMetrics", "name": "FontMetrics", "module": "Lub.Font", - "file": "cs-lib/lub_stub.cs#L2800", + "file": "cs-lib/lub_stub.cs#L2799", "doc": "", "members": [ { @@ -2985,7 +2985,7 @@ "path": "PlayOpts", "name": "PlayOpts", "module": "Lub.Audio", - "file": "cs-lib/lub_stub.cs#L2815", + "file": "cs-lib/lub_stub.cs#L2814", "doc": "Audio.Play / Audio.Voice の再生パラメータ。", "members": [ { @@ -3013,7 +3013,7 @@ "path": "VoiceOpts", "name": "VoiceOpts", "module": "Lub.Audio", - "file": "cs-lib/lub_stub.cs#L2822", + "file": "cs-lib/lub_stub.cs#L2821", "doc": "", "members": [ { @@ -3047,7 +3047,7 @@ "path": "AudioInfo", "name": "AudioInfo", "module": "Lub.Audio", - "file": "cs-lib/lub_stub.cs#L2830", + "file": "cs-lib/lub_stub.cs#L2829", "doc": "", "members": [ { @@ -3201,7 +3201,7 @@ "path": "TraceValue", "name": "TraceValue", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4901", + "file": "cs-lib/lub_stub.cs#L4900", "doc": "Sys.TakeValues の 1 件。", "members": [ { @@ -3223,7 +3223,7 @@ "path": "InspectNode", "name": "InspectNode", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4913", + "file": "cs-lib/lub_stub.cs#L4912", "doc": "Sys.Inspect の 1 件。 Path は子の C# の書き方で、そのまま Sys.Inspect に渡せる。Name は親から見た名前 (Count、[2]、[\"key\"])。 Type は class の instance ならその class の名前、それ以外は空。 Count は子の数 (0 なら開けない)。Cycle は祖先と同じ object で、開けない。 Id は object に振った通し番号の文字列で、object が生きている間は変わらず、別の object とは違う (string と値型は空)。App.Save で控えた状態を App.Load で読み込んでも、同じ個体は同じ Id のままになる。", "members": [ { @@ -3275,7 +3275,7 @@ "path": "InspectInstance", "name": "InspectInstance", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4926", + "file": "cs-lib/lub_stub.cs#L4925", "doc": "Sys.InspectInstances の 1 件。Type は class の名前、Path と Id は InspectNode と同じ。", "members": [ { @@ -3303,7 +3303,7 @@ "path": "ProfileLine", "name": "ProfileLine", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4937", + "file": "cs-lib/lub_stub.cs#L4936", "doc": "Sys.TakeProfile の 1 件 (前に取り出してからの和)。 Site は \"file:line\"。Ms はその行を実行していた時間の見積もり (0.25 ms ごとの知らせを足したもの) で、--trace で変換していない関数と API の中の時間を含み、--trace で変換した関数を呼んだ先の時間は含まない。 Bytes と Allocs はその行の確保の byte (object の header を含む) と回数で、時間と同じく呼んだ先を含む。", "members": [ { @@ -3337,7 +3337,7 @@ "path": "GcPause", "name": "GcPause", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4947", + "file": "cs-lib/lub_stub.cs#L4946", "doc": "Sys.TakeGcPauses の 1 件。Ms は GC が止めた時間 (行の時間には入らない)、LiveKb は回収の後に生きている KB。", "members": [ { @@ -3359,7 +3359,7 @@ "path": "KeptObject", "name": "KeptObject", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4957", + "file": "cs-lib/lub_stub.cs#L4956", "doc": "Sys.TakeKept の 1 件。Site は作った行 (\"file:line\")、Holder はそれを持つ field (\"型.field\"。static は \"class.field\")。 Holder は、ゲームの状態の根から一番近い、前からある物の field で、新しく作った物の中の物はその新しい物を持つ field、List と配列と Dictionary の中の物はその入れ物を持つ field になる。 Count は物の数 (List の中身の配列なども 1 つと数える)、Bytes はその byte (object の header を含む)。", "members": [ { @@ -3393,7 +3393,7 @@ "path": "GpuPass", "name": "GpuPass", "module": "Lub.Sys", - "file": "cs-lib/lub_stub.cs#L4969", + "file": "cs-lib/lub_stub.cs#L4968", "doc": "Sys.TakeGpuPasses の 1 件 (1 frame の 1 つの pass)。 Site は pass を始めた行 (\"file:line\"。tcs VM の player で、--trace で変換したソースの行から始めたときだけ。ほかは空)、Target は描き先 (texture の key、MainTex は \"main\"、XR の眼は \"xr0\" / \"xr1\"、depth だけの pass は depth の key)。 Ms は pass の GPU の時間で、測れない backend (metal、webgpu、sdlgpu) と測れなかった pass では -1。Draws はその pass の draw の数。", "members": [ { @@ -4142,7 +4142,7 @@ "path": "Vec2d", "name": "Vec2d", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2847", + "file": "cs-lib/lub_stub.cs#L2846", "doc": "2D 物理の座標 wire format。値の struct で、引数でも戻り値でも写しになる。", "members": [ { @@ -4164,7 +4164,7 @@ "path": "WorldRef", "name": "WorldRef", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2854", + "file": "cs-lib/lub_stub.cs#L2853", "doc": "", "members": [] }, @@ -4173,7 +4173,7 @@ "path": "BodyRef", "name": "BodyRef", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2859", + "file": "cs-lib/lub_stub.cs#L2858", "doc": "", "members": [] }, @@ -4182,7 +4182,7 @@ "path": "ShapeRef", "name": "ShapeRef", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2864", + "file": "cs-lib/lub_stub.cs#L2863", "doc": "", "members": [] }, @@ -4191,7 +4191,7 @@ "path": "ChainRef", "name": "ChainRef", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2869", + "file": "cs-lib/lub_stub.cs#L2868", "doc": "", "members": [] }, @@ -4200,7 +4200,7 @@ "path": "JointRef", "name": "JointRef", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2874", + "file": "cs-lib/lub_stub.cs#L2873", "doc": "", "members": [] }, @@ -4209,7 +4209,7 @@ "path": "InitialState", "name": "InitialState", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2880", + "file": "cs-lib/lub_stub.cs#L2879", "doc": "body 生成時の初期状態。", "members": [ { @@ -4261,7 +4261,7 @@ "path": "ShapeView", "name": "ShapeView", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2895", + "file": "cs-lib/lub_stub.cs#L2894", "doc": "event / query / callback が返す shape の識別。 material は MaterialName (宣言時の名前) と UserMaterialId (整数) に分かれる。 filter は live な shape のときだけ入る。", "members": [ { @@ -4343,7 +4343,7 @@ "path": "MaterialView", "name": "MaterialView", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2916", + "file": "cs-lib/lub_stub.cs#L2915", "doc": "friction / restitution callback が受ける材質の view。値は callback の種類に応じて Friction か Restitution に入る。", "members": [ { @@ -4371,7 +4371,7 @@ "path": "ManifoldPoint", "name": "ManifoldPoint", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2923", + "file": "cs-lib/lub_stub.cs#L2922", "doc": "", "members": [ { @@ -4459,7 +4459,7 @@ "path": "PreSolveContact", "name": "PreSolveContact", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2942", + "file": "cs-lib/lub_stub.cs#L2941", "doc": "PreSolve callback が受ける接触。", "members": [ { @@ -4535,7 +4535,7 @@ "path": "WorldCallbacks", "name": "WorldCallbacks", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2960", + "file": "cs-lib/lub_stub.cs#L2959", "doc": "world callback。生存期間は次の world 宣言か step まで。", "members": [ { @@ -4569,7 +4569,7 @@ "path": "WorldOpts", "name": "WorldOpts", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2973", + "file": "cs-lib/lub_stub.cs#L2972", "doc": "world のパラメータ。 `FixedDt` (既定 1/60) と `Substeps` (既定 4) がシミュレーション刻み。 `Step(world, dt)` は内部の accumulator が `FixedDt` を超えるたびに substep し、1 回の Step での消化は `MaxSteps` 回まで。", "members": [ { @@ -4633,7 +4633,7 @@ "path": "BeginOpts", "name": "BeginOpts", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L2990", + "file": "cs-lib/lub_stub.cs#L2989", "doc": "`Begin` のオプション。 `Prune` (既定 true) を false にすると、このフレームで宣言されなかった body/shape/joint の自動削除を止める。", "members": [ { @@ -4649,7 +4649,7 @@ "path": "BodyDesc", "name": "BodyDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3000", + "file": "cs-lib/lub_stub.cs#L2999", "doc": "body の宣言。 `Type` は `Phys2d.BodyType.Static` / `Kinematic` / `Dynamic` (既定 Static)。 `Version` を上げると `Initial` の状態で作り直される (リスポーンの定型)。", "members": [ { @@ -4731,7 +4731,7 @@ "path": "FilterDesc", "name": "FilterDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3019", + "file": "cs-lib/lub_stub.cs#L3018", "doc": "collision filter。 Category は bit 番号、Mask は bit 番号の列、CategoryBits / MaskBits は 64 bit の hex 文字列。", "members": [ { @@ -4759,7 +4759,7 @@ "path": "BoxDesc", "name": "BoxDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3028", + "file": "cs-lib/lub_stub.cs#L3027", "doc": "", "members": [ { @@ -4877,7 +4877,7 @@ "path": "CircleDesc", "name": "CircleDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3061", + "file": "cs-lib/lub_stub.cs#L3060", "doc": "", "members": [ { @@ -4983,7 +4983,7 @@ "path": "CapsuleDesc", "name": "CapsuleDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3092", + "file": "cs-lib/lub_stub.cs#L3091", "doc": "", "members": [ { @@ -5101,7 +5101,7 @@ "path": "SegmentDesc", "name": "SegmentDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3125", + "file": "cs-lib/lub_stub.cs#L3124", "doc": "", "members": [ { @@ -5213,7 +5213,7 @@ "path": "PolygonDesc", "name": "PolygonDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3160", + "file": "cs-lib/lub_stub.cs#L3159", "doc": "凸多角形。 Points は x, y の組 (3..8 点)。", "members": [ { @@ -5331,7 +5331,7 @@ "path": "ChainMaterial", "name": "ChainMaterial", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3195", + "file": "cs-lib/lub_stub.cs#L3194", "doc": "chain の区間ごとの材質。", "members": [ { @@ -5359,7 +5359,7 @@ "path": "ChainDesc", "name": "ChainDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3206", + "file": "cs-lib/lub_stub.cs#L3205", "doc": "chain。 Points は x, y の組 (4 点以上)。 Materials は 1 個か点の数。", "members": [ { @@ -5435,7 +5435,7 @@ "path": "JointSpringDesc", "name": "JointSpringDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3225", + "file": "cs-lib/lub_stub.cs#L3224", "doc": "joint の spring。宣言 (JointDesc.Spring) と JointSetSpring で共用。 Linear / Angular 系は weld。", "members": [ { @@ -5487,7 +5487,7 @@ "path": "JointLimitDesc", "name": "JointLimitDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3239", + "file": "cs-lib/lub_stub.cs#L3238", "doc": "joint の limit。 Min / Max は distance。", "members": [ { @@ -5527,7 +5527,7 @@ "path": "JointMotorDesc", "name": "JointMotorDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3251", + "file": "cs-lib/lub_stub.cs#L3250", "doc": "joint の motor。 LinearOffset / AngularOffset / CorrectionFactor は motor joint。", "members": [ { @@ -5579,7 +5579,7 @@ "path": "JointTargetDesc", "name": "JointTargetDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3265", + "file": "cs-lib/lub_stub.cs#L3264", "doc": "JointSetTarget。 mouse は Target か X / Y、prismatic は Translation、revolute は Angle、motor は LinearOffset / AngularOffset。", "members": [ { @@ -5625,7 +5625,7 @@ "path": "JointDesc", "name": "JointDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3278", + "file": "cs-lib/lub_stub.cs#L3277", "doc": "joint の宣言。有効フィールドは type ごとに異なる。", "members": [ { @@ -5815,7 +5815,7 @@ "path": "CommandOpts", "name": "CommandOpts", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3312", + "file": "cs-lib/lub_stub.cs#L3311", "doc": "", "members": [ { @@ -5843,7 +5843,7 @@ "path": "VelocityDesc", "name": "VelocityDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3319", + "file": "cs-lib/lub_stub.cs#L3318", "doc": "", "members": [ { @@ -5871,7 +5871,7 @@ "path": "PoseDesc", "name": "PoseDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3326", + "file": "cs-lib/lub_stub.cs#L3325", "doc": "", "members": [ { @@ -5899,7 +5899,7 @@ "path": "MassDataDesc", "name": "MassDataDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3333", + "file": "cs-lib/lub_stub.cs#L3332", "doc": "", "members": [ { @@ -5927,7 +5927,7 @@ "path": "MaterialDesc", "name": "MaterialDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3343", + "file": "cs-lib/lub_stub.cs#L3342", "doc": "ShapeSetMaterial。 Material は名前、MaterialId は整数の id。", "members": [ { @@ -5967,7 +5967,7 @@ "path": "ShapeEventsDesc", "name": "ShapeEventsDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3355", + "file": "cs-lib/lub_stub.cs#L3354", "doc": "ShapeSetEvents。 sensor は実行時に変えられない。", "members": [ { @@ -6001,7 +6001,7 @@ "path": "RaycastDesc", "name": "RaycastDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3363", + "file": "cs-lib/lub_stub.cs#L3362", "doc": "", "members": [ { @@ -6047,7 +6047,7 @@ "path": "AabbDesc", "name": "AabbDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3373", + "file": "cs-lib/lub_stub.cs#L3372", "doc": "", "members": [ { @@ -6087,7 +6087,7 @@ "path": "ShapeCastDesc", "name": "ShapeCastDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3385", + "file": "cs-lib/lub_stub.cs#L3384", "doc": "ShapeCast の問い合わせ。 Type は circle (既定) / capsule / segment / box / polygon。", "members": [ { @@ -6205,7 +6205,7 @@ "path": "MoverDesc", "name": "MoverDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3407", + "file": "cs-lib/lub_stub.cs#L3406", "doc": "", "members": [ { @@ -6269,7 +6269,7 @@ "path": "ExplosionDesc", "name": "ExplosionDesc", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3420", + "file": "cs-lib/lub_stub.cs#L3419", "doc": "", "members": [ { @@ -6315,7 +6315,7 @@ "path": "DebugOpts", "name": "DebugOpts", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3430", + "file": "cs-lib/lub_stub.cs#L3429", "doc": "", "members": [ { @@ -6409,7 +6409,7 @@ "path": "DebugData", "name": "DebugData", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3452", + "file": "cs-lib/lub_stub.cs#L3451", "doc": "Debug の戻り値。平らな float 列 (色は r g b a)。 segments は x1 y1 x2 y2 + 色、circles は cx cy r + 色、capsules は x1 y1 x2 y2 r + 色、polygons は n solid + 色 + 点列、points は x y size + 色。", "members": [ { @@ -6449,7 +6449,7 @@ "path": "Pose", "name": "Pose", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3463", + "file": "cs-lib/lub_stub.cs#L3462", "doc": "Phys2d.Pose の戻り値。", "members": [ { @@ -6519,7 +6519,7 @@ "path": "Velocity", "name": "Velocity", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3479", + "file": "cs-lib/lub_stub.cs#L3478", "doc": "Phys2d.Velocity の戻り値。", "members": [ { @@ -6547,7 +6547,7 @@ "path": "MassData", "name": "MassData", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3486", + "file": "cs-lib/lub_stub.cs#L3485", "doc": "", "members": [ { @@ -6581,7 +6581,7 @@ "path": "Aabb", "name": "Aabb", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3494", + "file": "cs-lib/lub_stub.cs#L3493", "doc": "", "members": [ { @@ -6615,7 +6615,7 @@ "path": "FilterInfo", "name": "FilterInfo", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3502", + "file": "cs-lib/lub_stub.cs#L3501", "doc": "", "members": [ { @@ -6643,7 +6643,7 @@ "path": "ShapeInfo", "name": "ShapeInfo", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3511", + "file": "cs-lib/lub_stub.cs#L3510", "doc": "", "members": [ { @@ -6785,7 +6785,7 @@ "path": "WorldCallbackInfo", "name": "WorldCallbackInfo", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3539", + "file": "cs-lib/lub_stub.cs#L3538", "doc": "", "members": [ { @@ -6819,7 +6819,7 @@ "path": "WorldInfo", "name": "WorldInfo", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3547", + "file": "cs-lib/lub_stub.cs#L3546", "doc": "", "members": [ { @@ -6949,7 +6949,7 @@ "path": "StepInfo", "name": "StepInfo", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3571", + "file": "cs-lib/lub_stub.cs#L3570", "doc": "", "members": [ { @@ -7025,7 +7025,7 @@ "path": "JointView", "name": "JointView", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3586", + "file": "cs-lib/lub_stub.cs#L3585", "doc": "", "members": [ { @@ -7065,7 +7065,7 @@ "path": "JointInfo", "name": "JointInfo", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3595", + "file": "cs-lib/lub_stub.cs#L3594", "doc": "", "members": [ { @@ -7159,7 +7159,7 @@ "path": "ContactData", "name": "ContactData", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3615", + "file": "cs-lib/lub_stub.cs#L3614", "doc": "body に今触れている contact。", "members": [ { @@ -7217,7 +7217,7 @@ "path": "ContactEvent", "name": "ContactEvent", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3630", + "file": "cs-lib/lub_stub.cs#L3629", "doc": "contact イベントの端点 (2D/3D 共通)。", "members": [ { @@ -7275,7 +7275,7 @@ "path": "SensorEvent", "name": "SensorEvent", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3642", + "file": "cs-lib/lub_stub.cs#L3641", "doc": "", "members": [ { @@ -7297,7 +7297,7 @@ "path": "BodyEvent", "name": "BodyEvent", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3648", + "file": "cs-lib/lub_stub.cs#L3647", "doc": "", "members": [ { @@ -7343,7 +7343,7 @@ "path": "RayHit", "name": "RayHit", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3658", + "file": "cs-lib/lub_stub.cs#L3657", "doc": "", "members": [ { @@ -7467,7 +7467,7 @@ "path": "ShapeRayHit", "name": "ShapeRayHit", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3685", + "file": "cs-lib/lub_stub.cs#L3684", "doc": "ShapeRaycast の戻り値。", "members": [ { @@ -7513,7 +7513,7 @@ "path": "MoverCast", "name": "MoverCast", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3695", + "file": "cs-lib/lub_stub.cs#L3694", "doc": "", "members": [ { @@ -7541,7 +7541,7 @@ "path": "MoverPlane", "name": "MoverPlane", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3702", + "file": "cs-lib/lub_stub.cs#L3701", "doc": "", "members": [ { @@ -7659,7 +7659,7 @@ "path": "Profile", "name": "Profile", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3726", + "file": "cs-lib/lub_stub.cs#L3725", "doc": "", "members": [ { @@ -7801,7 +7801,7 @@ "path": "Counters", "name": "Counters", "module": "Lub.Phys2d", - "file": "cs-lib/lub_stub.cs#L3752", + "file": "cs-lib/lub_stub.cs#L3751", "doc": "", "members": [ { @@ -8527,7 +8527,7 @@ "path": "Vec3d", "name": "Vec3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3772", + "file": "cs-lib/lub_stub.cs#L3771", "doc": "3D 物理の座標 wire format。", "members": [ { @@ -8555,7 +8555,7 @@ "path": "Quat3d", "name": "Quat3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3781", + "file": "cs-lib/lub_stub.cs#L3780", "doc": "回転の wire format。", "members": [ { @@ -8589,7 +8589,7 @@ "path": "WorldRef3d", "name": "WorldRef3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3790", + "file": "cs-lib/lub_stub.cs#L3789", "doc": "", "members": [] }, @@ -8598,7 +8598,7 @@ "path": "BodyRef3d", "name": "BodyRef3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3795", + "file": "cs-lib/lub_stub.cs#L3794", "doc": "", "members": [] }, @@ -8607,7 +8607,7 @@ "path": "ShapeRef3d", "name": "ShapeRef3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3800", + "file": "cs-lib/lub_stub.cs#L3799", "doc": "", "members": [] }, @@ -8616,7 +8616,7 @@ "path": "JointRef3d", "name": "JointRef3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3805", + "file": "cs-lib/lub_stub.cs#L3804", "doc": "", "members": [] }, @@ -8625,7 +8625,7 @@ "path": "InitialState3d", "name": "InitialState3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3815", + "file": "cs-lib/lub_stub.cs#L3814", "doc": "body 生成時の初期状態。 `BodyDesc3d.Version` を上げて作り直したときにもこの値が適用される。回転は `Quat` か `Euler` (ラジアン) のどちらか。 `Wx/Wy/Wz` は角速度 (rad/s)。", "members": [ { @@ -8707,7 +8707,7 @@ "path": "MotionLocks3d", "name": "MotionLocks3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3831", + "file": "cs-lib/lub_stub.cs#L3830", "doc": "", "members": [ { @@ -8753,7 +8753,7 @@ "path": "ShapeView3d", "name": "ShapeView3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3843", + "file": "cs-lib/lub_stub.cs#L3842", "doc": "event / query / callback が返す shape の識別 (3D)。", "members": [ { @@ -8823,7 +8823,7 @@ "path": "PreSolveContact3d", "name": "PreSolveContact3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3861", + "file": "cs-lib/lub_stub.cs#L3860", "doc": "PreSolve callback が受ける接触 (3D は点と法線が 1 つ)。", "members": [ { @@ -8881,7 +8881,7 @@ "path": "WorldCallbacks3d", "name": "WorldCallbacks3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3873", + "file": "cs-lib/lub_stub.cs#L3872", "doc": "", "members": [ { @@ -8915,7 +8915,7 @@ "path": "WorldOpts3d", "name": "WorldOpts3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3886", + "file": "cs-lib/lub_stub.cs#L3885", "doc": "world のパラメータ。 `FixedDt` (既定 1/60) と `Substeps` (既定 4) がシミュレーション刻み。 `Step(world, dt)` は内部の accumulator が `FixedDt` を超えるたびに substep し、1 回の Step での消化は `MaxSteps` 回まで。", "members": [ { @@ -8979,7 +8979,7 @@ "path": "BeginOpts3d", "name": "BeginOpts3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3903", + "file": "cs-lib/lub_stub.cs#L3902", "doc": "`Begin` のオプション。 `Prune` (既定 true) を false にすると、このフレームで宣言されなかった body/shape/joint の自動削除を止める。", "members": [ { @@ -8995,7 +8995,7 @@ "path": "BodyDesc3d", "name": "BodyDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3913", + "file": "cs-lib/lub_stub.cs#L3912", "doc": "body の宣言。 `Type` は `Phys3d.BodyType.Static` / `Kinematic` / `Dynamic` (既定 Static)。 `Version` を上げると `Initial` の状態で作り直される (リスポーンの定型)。", "members": [ { @@ -9077,7 +9077,7 @@ "path": "FilterDesc3d", "name": "FilterDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3929", + "file": "cs-lib/lub_stub.cs#L3928", "doc": "", "members": [ { @@ -9105,7 +9105,7 @@ "path": "SphereDesc3d", "name": "SphereDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3938", + "file": "cs-lib/lub_stub.cs#L3937", "doc": "", "members": [ { @@ -9205,7 +9205,7 @@ "path": "BoxDesc3d", "name": "BoxDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L3968", + "file": "cs-lib/lub_stub.cs#L3967", "doc": "", "members": [ { @@ -9323,7 +9323,7 @@ "path": "CapsuleDesc3d", "name": "CapsuleDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4001", + "file": "cs-lib/lub_stub.cs#L4000", "doc": "", "members": [ { @@ -9429,7 +9429,7 @@ "path": "CylinderDesc3d", "name": "CylinderDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4032", + "file": "cs-lib/lub_stub.cs#L4031", "doc": "", "members": [ { @@ -9541,7 +9541,7 @@ "path": "ConeDesc3d", "name": "ConeDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4064", + "file": "cs-lib/lub_stub.cs#L4063", "doc": "", "members": [ { @@ -9653,7 +9653,7 @@ "path": "HullDesc3d", "name": "HullDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4100", + "file": "cs-lib/lub_stub.cs#L4099", "doc": "凸包。 Points は x, y, z の組 (4 点以上)。 Version 必須。", "members": [ { @@ -9753,7 +9753,7 @@ "path": "SurfaceMaterial3d", "name": "SurfaceMaterial3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4132", + "file": "cs-lib/lub_stub.cs#L4131", "doc": "mesh / compound の区間ごとの材質。", "members": [ { @@ -9781,7 +9781,7 @@ "path": "MeshDesc3d", "name": "MeshDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4143", + "file": "cs-lib/lub_stub.cs#L4142", "doc": "三角形メッシュ。 Positions は x, y, z の組、Indices は 0 始まりの 3 の倍数。 Version 必須。", "members": [ { @@ -9923,7 +9923,7 @@ "path": "HeightFieldDesc3d", "name": "HeightFieldDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4184", + "file": "cs-lib/lub_stub.cs#L4183", "doc": "height field。 Heights は XCount * ZCount 個。 Version 必須。", "members": [ { @@ -10059,7 +10059,7 @@ "path": "CompoundSphere3d", "name": "CompoundSphere3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4220", + "file": "cs-lib/lub_stub.cs#L4219", "doc": "", "members": [ { @@ -10081,7 +10081,7 @@ "path": "CompoundBox3d", "name": "CompoundBox3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4226", + "file": "cs-lib/lub_stub.cs#L4225", "doc": "", "members": [ { @@ -10109,7 +10109,7 @@ "path": "CompoundCapsule3d", "name": "CompoundCapsule3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4233", + "file": "cs-lib/lub_stub.cs#L4232", "doc": "", "members": [ { @@ -10137,7 +10137,7 @@ "path": "CompoundChild3d", "name": "CompoundChild3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4243", + "file": "cs-lib/lub_stub.cs#L4242", "doc": "compound の子。 Sphere / Box / Capsule のどれか 1 つ。", "members": [ { @@ -10189,7 +10189,7 @@ "path": "CompoundDesc3d", "name": "CompoundDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4257", + "file": "cs-lib/lub_stub.cs#L4256", "doc": "static body 限定の compound。 Version 必須。", "members": [ { @@ -10283,7 +10283,7 @@ "path": "CommandOpts3d", "name": "CommandOpts3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4286", + "file": "cs-lib/lub_stub.cs#L4285", "doc": "", "members": [ { @@ -10305,7 +10305,7 @@ "path": "VelocityDesc3d", "name": "VelocityDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4292", + "file": "cs-lib/lub_stub.cs#L4291", "doc": "", "members": [ { @@ -10351,7 +10351,7 @@ "path": "PoseDesc3d", "name": "PoseDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4302", + "file": "cs-lib/lub_stub.cs#L4301", "doc": "", "members": [ { @@ -10391,7 +10391,7 @@ "path": "TargetDesc3d", "name": "TargetDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4311", + "file": "cs-lib/lub_stub.cs#L4310", "doc": "", "members": [ { @@ -10443,7 +10443,7 @@ "path": "FrameDesc3d", "name": "FrameDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4322", + "file": "cs-lib/lub_stub.cs#L4321", "doc": "", "members": [ { @@ -10483,7 +10483,7 @@ "path": "JointSpringDesc3d", "name": "JointSpringDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4331", + "file": "cs-lib/lub_stub.cs#L4330", "doc": "", "members": [ { @@ -10541,7 +10541,7 @@ "path": "JointLimitDesc3d", "name": "JointLimitDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4343", + "file": "cs-lib/lub_stub.cs#L4342", "doc": "", "members": [ { @@ -10599,7 +10599,7 @@ "path": "JointMotorDesc3d", "name": "JointMotorDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4355", + "file": "cs-lib/lub_stub.cs#L4354", "doc": "", "members": [ { @@ -10663,7 +10663,7 @@ "path": "JointTargetDesc3d", "name": "JointTargetDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4371", + "file": "cs-lib/lub_stub.cs#L4370", "doc": "JointSetTarget (3D)。 prismatic は Translation、revolute と wheel は Angle、spherical は Rotation / Quat / Euler、motor は速度。", "members": [ { @@ -10715,7 +10715,7 @@ "path": "JointDesc3d", "name": "JointDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4386", + "file": "cs-lib/lub_stub.cs#L4385", "doc": "joint の宣言。有効フィールドは type ごとに異なる。 anchor はワールド座標。", "members": [ { @@ -11019,7 +11019,7 @@ "path": "MaterialDesc3d", "name": "MaterialDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4439", + "file": "cs-lib/lub_stub.cs#L4438", "doc": "", "members": [ { @@ -11059,7 +11059,7 @@ "path": "ShapeEventsDesc3d", "name": "ShapeEventsDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4448", + "file": "cs-lib/lub_stub.cs#L4447", "doc": "", "members": [ { @@ -11093,7 +11093,7 @@ "path": "MoverDesc3d", "name": "MoverDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4456", + "file": "cs-lib/lub_stub.cs#L4455", "doc": "", "members": [ { @@ -11151,7 +11151,7 @@ "path": "RaycastDesc3d", "name": "RaycastDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4468", + "file": "cs-lib/lub_stub.cs#L4467", "doc": "", "members": [ { @@ -11209,7 +11209,7 @@ "path": "AabbDesc3d", "name": "AabbDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4480", + "file": "cs-lib/lub_stub.cs#L4479", "doc": "", "members": [ { @@ -11261,7 +11261,7 @@ "path": "SphereProxy3d", "name": "SphereProxy3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4491", + "file": "cs-lib/lub_stub.cs#L4490", "doc": "", "members": [ { @@ -11283,7 +11283,7 @@ "path": "BoxProxy3d", "name": "BoxProxy3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4497", + "file": "cs-lib/lub_stub.cs#L4496", "doc": "", "members": [ { @@ -11329,7 +11329,7 @@ "path": "CapsuleProxy3d", "name": "CapsuleProxy3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4507", + "file": "cs-lib/lub_stub.cs#L4506", "doc": "", "members": [ { @@ -11357,7 +11357,7 @@ "path": "ShapeProxyDesc3d", "name": "ShapeProxyDesc3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4517", + "file": "cs-lib/lub_stub.cs#L4516", "doc": "OverlapShape / ShapeCast の形。 Sphere / Box / Capsule のどれか。", "members": [ { @@ -11415,7 +11415,7 @@ "path": "Pose3d", "name": "Pose3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4531", + "file": "cs-lib/lub_stub.cs#L4530", "doc": "Phys3d.Pose の戻り値。", "members": [ { @@ -11527,7 +11527,7 @@ "path": "Velocity3d", "name": "Velocity3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4554", + "file": "cs-lib/lub_stub.cs#L4553", "doc": "Phys3d.Velocity の戻り値。", "members": [ { @@ -11573,7 +11573,7 @@ "path": "Inertia3d", "name": "Inertia3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4564", + "file": "cs-lib/lub_stub.cs#L4563", "doc": "", "members": [ { @@ -11619,7 +11619,7 @@ "path": "MassData3d", "name": "MassData3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4574", + "file": "cs-lib/lub_stub.cs#L4573", "doc": "", "members": [ { @@ -11653,7 +11653,7 @@ "path": "Aabb3d", "name": "Aabb3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4582", + "file": "cs-lib/lub_stub.cs#L4581", "doc": "", "members": [ { @@ -11699,7 +11699,7 @@ "path": "ShapeInfo3d", "name": "ShapeInfo3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4592", + "file": "cs-lib/lub_stub.cs#L4591", "doc": "", "members": [ { @@ -11829,7 +11829,7 @@ "path": "WorldInfo3d", "name": "WorldInfo3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4618", + "file": "cs-lib/lub_stub.cs#L4617", "doc": "", "members": [ { @@ -11953,7 +11953,7 @@ "path": "StepInfo3d", "name": "StepInfo3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4641", + "file": "cs-lib/lub_stub.cs#L4640", "doc": "", "members": [ { @@ -12035,7 +12035,7 @@ "path": "Frame3d", "name": "Frame3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4657", + "file": "cs-lib/lub_stub.cs#L4656", "doc": "", "members": [ { @@ -12087,7 +12087,7 @@ "path": "JointView3d", "name": "JointView3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4670", + "file": "cs-lib/lub_stub.cs#L4669", "doc": "3D joint の識別 (BodyJoints / JointEvents)。", "members": [ { @@ -12127,7 +12127,7 @@ "path": "JointInfo3d", "name": "JointInfo3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4679", + "file": "cs-lib/lub_stub.cs#L4678", "doc": "", "members": [ { @@ -12209,7 +12209,7 @@ "path": "ContactData3d", "name": "ContactData3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4695", + "file": "cs-lib/lub_stub.cs#L4694", "doc": "", "members": [ { @@ -12285,7 +12285,7 @@ "path": "ContactEvent3d", "name": "ContactEvent3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4712", + "file": "cs-lib/lub_stub.cs#L4711", "doc": "3D の contact event (Contacts)。", "members": [ { @@ -12355,7 +12355,7 @@ "path": "SensorEvent3d", "name": "SensorEvent3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4728", + "file": "cs-lib/lub_stub.cs#L4727", "doc": "3D の sensor event (Sensors)。", "members": [ { @@ -12377,7 +12377,7 @@ "path": "BodyEvent3d", "name": "BodyEvent3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4734", + "file": "cs-lib/lub_stub.cs#L4733", "doc": "", "members": [ { @@ -12447,7 +12447,7 @@ "path": "JointEvent3d", "name": "JointEvent3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4748", + "file": "cs-lib/lub_stub.cs#L4747", "doc": "", "members": [ { @@ -12487,7 +12487,7 @@ "path": "RayHit3d", "name": "RayHit3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4757", + "file": "cs-lib/lub_stub.cs#L4756", "doc": "", "members": [ { @@ -12629,7 +12629,7 @@ "path": "ShapeRayHit3d", "name": "ShapeRayHit3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4785", + "file": "cs-lib/lub_stub.cs#L4784", "doc": "", "members": [ { @@ -12699,7 +12699,7 @@ "path": "MoverCast3d", "name": "MoverCast3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4799", + "file": "cs-lib/lub_stub.cs#L4798", "doc": "", "members": [ { @@ -12733,7 +12733,7 @@ "path": "MoverPlane3d", "name": "MoverPlane3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4807", + "file": "cs-lib/lub_stub.cs#L4806", "doc": "", "members": [ { @@ -12851,7 +12851,7 @@ "path": "Profile3d", "name": "Profile3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4831", + "file": "cs-lib/lub_stub.cs#L4830", "doc": "", "members": [ { @@ -12999,7 +12999,7 @@ "path": "Counters3d", "name": "Counters3d", "module": "Lub.Phys3d", - "file": "cs-lib/lub_stub.cs#L4858", + "file": "cs-lib/lub_stub.cs#L4857", "doc": "", "members": [ { @@ -13160,14 +13160,14 @@ "module": "Lubx.Vorbis", "package": "lub", "name": "Vorbis", - "file": "cs-lib/lub_stub.cs#L5010", + "file": "cs-lib/lub_stub.cs#L5009", "types": [ { "kind": "class", "path": "Lubx.Vorbis", "name": "Vorbis", "module": "Lubx.Vorbis", - "file": "cs-lib/lub_stub.cs#L5010", + "file": "cs-lib/lub_stub.cs#L5009", "doc": "Ogg Vorbis の bytes を PCM に戻す (stb_vorbis)。", "members": [ {