color_reset
Removes every property colour; nodes draw in their materials again. Returns { cleared: nodes that had a colour }.
Usage
surface.execute('color_reset')Returns
object with cleared, in the ok: true envelope.
{
"type": "object",
"properties": {
"cleared": {
"type": "integer",
"minimum": 0
}
},
"required": [
"cleared"
]
}