ボックス生成(整形込み)
dx12_spawn_boxSpawns a cube entity with position, scale, rotation, color, metallic, and roughness properties for creating scaffolding, walls, or floors.
Instructions
ボックス(立方体)を1コールで生成。足場/壁/床に最適。position/scale/rotation/color/metallic/roughness をまとめて指定でき、内部で create_entity→set_transform→set_pbr→set_color を順に実行する。{entityId, name, sceneGeneration} を返す。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | エンティティ名。省略時 'Box'。 | |
| color | No | [r,g,b] 0..1 基本色。 | |
| scale | No | [x,y,z]。足場なら例 [4,0.5,4]。 | |
| metallic | No | 金属度 0..1。 | |
| position | No | [x,y,z]。省略時 [0,0,0]。 | |
| rotation | No | [x,y,z] Euler 度。 | |
| roughness | No | 粗さ 0..1。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |