10-13-2021, 05:09 PM
There is something about custom modules that will be fixed in version 8: The module template created via Project's window→Create→Curvy→CG Module does not call base.Refresh() in the Refresh method's override.
Other than that, there is no specific guide for this task. In addition to the comments in the class template, and the general tips found here: https://curvyeditor.com/documentation/extend/start , I would add the following:
Your inputs and outputs should be of type CGVolume. A module with such input type, to take as an example if needed, is the BuildVolumeMesh class. In its Refresh method, you can see how the input data is retrieved. The CGVolume class by itself is nothing crazy. Then at the end of the Refresh method, set the output data. That's basically it.
Let me know if you have more questions.
Have a nice day
Other than that, there is no specific guide for this task. In addition to the comments in the class template, and the general tips found here: https://curvyeditor.com/documentation/extend/start , I would add the following:
Your inputs and outputs should be of type CGVolume. A module with such input type, to take as an example if needed, is the BuildVolumeMesh class. In its Refresh method, you can see how the input data is retrieved. The CGVolume class by itself is nothing crazy. Then at the end of the Refresh method, set the output data. That's basically it.
Let me know if you have more questions.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.