Passing the parameters would allow for real-time structural changes. This would be constrained to each batche of events but might still be fairly useful.
Dynamic data could be supplied via a HashMap<String, Variant>, where keys would be the name of the input parameter and values would be wrapped in a variant type of floats, ints and strings (to mirror parameters), then inside the notation you could say something like
This would substitute the value of the parameter named div when generating, allowing you to change the speed of the subdivision step at runtime without changing the code. Similarly it could be used for setting chance, setting event properties etc.
Passing the parameters would allow for real-time structural changes. This would be constrained to each batche of events but might still be fairly useful.
Dynamic data could be supplied via a
HashMap<String, Variant>, where keys would be the name of the input parameter and values would be wrapped in a variant type of floats, ints and strings (to mirror parameters), then inside the notation you could say something likeThis would substitute the value of the parameter named
divwhen generating, allowing you to change the speed of the subdivision step at runtime without changing the code. Similarly it could be used for setting chance, setting event properties etc.