06-01-2023, 07:33 PM
In that case, here are the broad lines of what you need to do:
I hope this helped
- Create your meta data class. See CurvyMetadataBase and all the classes beneath it. An example of custom meta data is in E01_HeightMetadata.cs
- Update the code InputSplinePath or InputSplineShape so that they read the meta data.
- Write its content in a field you will create inside CGShape. Notice the chain of inheritence CGShape -> CGPath -> CGVolume
- Process that data in BuildShapeExtrusion. This means reading the data from the classes's input InPath/InCross and writing it into its output OutVolume
- In BuildVolumeMesh, read the input volume and do most of what I explained in my previous post
I hope this helped
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.