プレハブ生成
dx12_spawn_prefabSpawns a prefab from an assets relative path, returning entity IDs and scene generation data after frame-boundary processing.
Instructions
プレハブ(.prefab)を assets 相対パスから生成する。フレーム境界で実処理され、Node が完了を待って【本物の {entityId, rootEntityId, entityIds:[...], name, sceneGeneration} を同期で返す】。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ルートエンティティ名。省略時はプレハブ名。 | |
| path | Yes | assets 相対パス。例: prefabs/enemy.prefab | |
| position | No | [x,y,z]。省略時 [0,0,0]。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |