color_reset

Removes every property colour; nodes draw in their materials again. Returns { cleared: nodes that had a colour }.

Command

Usage

TypeScript
surface.execute('color_reset')

Returns

object with cleared, in the ok: true envelope.

JSON
{
  "type": "object",
  "properties": {
    "cleared": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "cleared"
  ]
}

See also