object_set_attributes
Change object properties by reference, such as light brightness, camera lens settings, or fog density, to update a running Marmoset Toolbag scene.
Instructions
Set attributes of any object by name: {"brightness": 3, "color": [1, 0.9, 0.8]} for a light, {"lens": {"dofStop": 2.8}} or {"lens.dofStop": 2.8} for a camera, {"density": 0.2} for fog, {"opacity": 0.5} for a shadow catcher.
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": {
"ref": "<ref>",
"attributes": "<attributes>"
},
"name": "object_set_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| attributes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||