create_gradient
Generate a Godot Gradient resource file (.tres) by specifying output path, color stops, and interpolation mode. Useful for programmatically adding gradients to projects.
Instructions
Create Gradient .tres.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output path (e.g. "gradients/fire.tres") | |
| colors | No | Array of {offset, color} objects | |
| interpolation_mode | No | linear |