evaluate_curve_at_time
Evaluate Unreal Engine float, vector, or linear color curves at a specified time, returning scalar value and full component array for multi-channel curves.
Instructions
Evaluate a curve asset at a given time. Loads a UCurveFloat / UCurveVector / UCurveLinearColor and evaluates it at the requested time. For multi-channel curves (Vector=3, LinearColor=4) the optional channel selects which component the scalar 'value' field reports; the full component array is always returned in 'values'.
Returns: { curve_path: string, curve_class: string, time: float, curve_type: string, num_channels: int, channel: int, value: float, values: [float], vector: {x,y,z}, color: {r,g,b,a} }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | The time (X) to evaluate at. | |
| channel | No | Optional channel index for multi-channel curves (Vector/LinearColor) to populate 'value'. | |
| curve_path | Yes | Object path or package path of the curve asset. |