ae_applyGradient
Applies a Gradient Ramp with exact hex colors to an After Effects layer, defined by color stops, linear or radial type, and angle. Set direction and scatter to control the gradient.
Instructions
After Effects: apply a reliable gradient (Gradient Ramp) with real colors. stops [{color:hex}, ...] (first + last used), type linear|radial, angleDeg (linear direction).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| blend | No | ramp scatter 0-.. | |
| layer | Yes | Layer name or 1-based index. | |
| stops | Yes | ||
| angleDeg | No | ||
| compositionName | No | Comp name; omit to use the active comp. |