[Request]: On paste Visject get/ set parameter node, resolve parameters
Description
When copy pasting a Visject parameter node (Set Parameter, Get Parameter) from one surface to the other, it won't auto resolve surface parameters, even if a parameter with the same type and name exists in the target surface:
https://github.com/user-attachments/assets/c21c2de9-dd5a-4c2b-958b-206d410d6ed3
It would be very useful if Flax could auto resolve pasted parameter nodes on paste if:
- Parameter with same name exists that also is the same type
It would be awesome if this could work across surfaces, so for example copy pasting nodes from a particle surface to a material surface would also resolve parameters (as much as possible, some parameters from materials don't exist in particles and vice versa).
On paste, all parameter nodes will go back to no parameter and will disconnect any connections they had (connections with nodes that were also copy pasted).
Benefits
This would help me a lot because I have two base materials that I need to keep in sync (one has backface culling enabled, one is double sided, I need both as a base material).
Right now, every time I copy paste nodes that include parameters between materials, I need to:
- Manually re- create the parameters (totally doable, it would be cool if Flax could automatically do that but that's not really needed)
- Select the correct parameter from every set-/ get parameter node
- Reconnect every set-/ get parameter node
Source: FlaxEngine/FlaxEngine