set_sound_source_bus_send_level_curve
Merges a float curve into a USoundSourceBus send's CustomSendLevelCurve and saves it, returning the applied curve. The send must use the CustomCurve control method.
Instructions
Merge a FRuntimeFloatCurve JSON into BusSends[send_index].CustomSendLevelCurve of a USoundSourceBus asset (BusSends grows with default entries past its end) and save it; success requires the save. Returns the curve read back. The curve only takes effect when that send uses the CustomCurve control method: see set_sound_source_bus_send_info.
Returns: { ssb_path: string, send_index: int, bus_sends_count: int, distance_curve: object, applied_keys: [string], saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssb_path | Yes | Full content path of the target USoundSourceBus (USoundBase.BusSends is the target array). | |
| send_index | Yes | 0-based index into BusSends; the entry is mutated in place. Resized/extended with default-constructed entries if out of range. | |
| distance_curve | Yes | FRuntimeFloatCurve fields by their UPROPERTY names, e.g. {"EditorCurveData": {"Keys": [{"Time": 0.0, "Value": 1.0}, {"Time": 1.0, "Value": 0.0}]}}; Time 0-1 maps to MinSendDistance-MaxSendDistance and Keys replaces the key list. Fields left out keep their current values; unknown keys are ignored without error. |