Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Command · material

material.text.apply

Apply the text view as undoable material ops.
scope edit:scenenot idempotentnon-destructive

Params

Typed as MaterialTextParams. Fields marked * are required.

text*

string
Complete bounded material DSL.
required

Examples

JSON (MCP ara_apply, batches)

{
  "cmd": "material.text.apply",
  "args": {
    "text": "material Demo : unlit budget 1 { let color : ColorLinear = linear(1, 1, 1); output color = color; }"
  }
}

CLI

ara do material.text.apply --args '{"text":"material Demo : unlit budget 1 { let color : ColorLinear = linear(1, 1, 1); output color = color; }"}' --why "…"