mat_get
Get a material's full data: class, diffuse/specular/roughness/metallic/IOR/opacity/emission, and every map slot with map class and bitmap path. Works with materials listed by mat_list.
Instructions
读取一个材质的完整信息:类名、漫反射/高光/粗糙度/金属度/IOR/不透明度/自发光,以及所有贴图槽(按名字列出槽名、贴图类、位图路径)。名称可用 mat_list 查到。StandardMaterial 的 diffuse 在 PBR 灯光下会偏暗;PhysicalMaterial 用 Base Color + Metallic + Roughness。 [English] Read full details of a material: class, diffuse/specular/roughness/metallic/IOR/opacity/emission, plus every map slot (slot name, map class, bitmap path). Names come from mat_list. A StandardMaterial's diffuse looks wrong under PBR lighting; PhysicalMaterial uses Base Color + Metallic + Roughness.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"material": "<material>"
},
"name": "mat_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | Yes | 材质名称(字符串)。 | Material name (string). |