get_color_ramp
Read all color stops from a ColorRamp node in a Blender material. Use this to inspect current stop indices, positions, and colors before editing.
Instructions
Read every stop on a ColorRamp node.
Use this before editing to learn the current indices and positions, since add and move operations reorder stops.
Args: material_name: Name of the material. node_name: Name of the ColorRamp node.
Returns: Dict with elements (index, position, color), interpolation, color_mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | ||
| material_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||