metasound_set_input_default
Set the default value for a MetaSound Source graph input using float, int, bool, or string data, then verify and save the updated asset.
Instructions
Sets the default literal value of a MetaSound Source graph input. Obtains a builder for the existing asset (FindOrBeginBuilding) and calls SetGraphInputDefault with an FMetasoundFrontendLiteral built from the supplied value, then reads the value back to verify and saves the asset. Provide exactly one of value (float, default), int_value, bool_value or string_value.
Returns: { asset_path: string, input_name: string, value_type: string, value_set: bool, verified: bool, value_read_back: string, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Float default value (optional, used if no other *_value is provided) | |
| int_value | No | Int32 default value (optional, mutually exclusive with value/bool_value/string_value) | |
| bool_value | No | Bool default value (optional, mutually exclusive with value/int_value/string_value) | |
| input_name | Yes | Name of the graph input whose default to set. | |
| string_value | No | String default value (optional, mutually exclusive with value/int_value/bool_value) | |
| metasound_path | Yes | Asset path of the MetaSound Source. |