モデル生成
dx12_spawn_modelSpawns a 3D model from a relative asset path with GPU loading, returning entity details synchronously. Supports idempotency keys to prevent duplicate generation.
Instructions
モデル(.gltf/.glb/.fbx/.obj)を assets 相対パスから生成する。GPU ロードを伴いフレーム境界で実処理されるが、Node が完了を待って【本物の {entityId, name, sceneGeneration} を同期で返す】。idempotency_key で再試行の二重生成を防げる。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | エンティティ名。省略時はファイル名(拡張子なし)。 | |
| path | Yes | assets 相対パス。例: models/player.glb | |
| position | No | [x,y,z]。省略時 [0,0,0]。 | |
| idempotency_key | No | 再試行の重複防止キー。同じキーの再送は二重生成されない。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |