Hello,
I’m trying to build a niagara module script, which uses an input curve, similar like the built in scale sprite size module does it.
I created a new input parameter map, but there is no option to connect the curve into a float from curves variable.
What steps do I need to follow to connect the input into my float from curves value?
Hi Robert,
You can configure this as follows:
- On the “Parameters” tab (next to the “Input Preview” tab), open category “Module Inputs” and select the desired input (“Curve for Floats” in your screenshot)
- On the “Selected Details” tab (on the right), on category “Default Value”, change “Default Mode” to “Custom” using the dropdown.
By the way, there are four modes available to choose from:
- Value: the default value can be set directly in the “Selected Details” tab
- Binding: the default value can be bound to an attribute directly in the “Selected Details” tab
- Custom: the default value is given by connecting a sub-graph to an input pin on the “Map Get” node.
- Fail if previously not set: no default, he value must be set on the emitter stack.
Let me know if this helps, or if you need any further assistance.
Best regards,
Vitor