PBR マテリアル設定
dx12_set_pbrSet PBR parameters (metallic, roughness, UV scale) for a game entity by ID or name. Returns updated values upon successful application.
Instructions
エンティティの PBR パラメータ(metallic/roughness/UV スケール)を設定する。指定分のみ更新。即時反映で {entityId, metallic, roughness, uvScaleU, uvScaleV} を返す。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dx12_set_pbr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | エンティティ名(完全一致)。id の代わりに使える。Stop 後など id が変わる場面で安定。 | |
| entity | No | エンティティ id(int)。name と排他。 | |
| metallic | No | 金属度 0..1 | |
| uvScaleU | No | UV の U 方向スケール(タイリング) | |
| uvScaleV | No | UV の V 方向スケール(タイリング) | |
| roughness | No | 粗さ 0..1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | エンジンからの生の結果。実際の形は各ツールの説明 / dx12_describe_components を参照。text にも同内容を JSON 文字列で格納。 |