Transform 設定
dx12_set_transformUpdate an entity's transform by setting position, rotation (Euler degrees or quaternion), and scale. Only specified fields are updated and changes take effect instantly.
Instructions
エンティティの Transform を設定する。指定したフィールドだけ更新。回転は rotation(Euler 度) か quaternion([x,y,z,w]) のどちらか。即時反映で ok を返す。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | エンティティ名(完全一致)。id の代わりに使える。Stop 後など id が変わる場面で安定。 | |
| scale | No | [x,y,z] | |
| entity | No | エンティティ id(int)。name と排他。 | |
| position | No | [x,y,z] | |
| rotation | No | [x,y,z] Euler 度。quaternion と併用しない。 | |
| quaternion | No | [x,y,z,w] クォータニオン。rotation と併用しない。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |