06-13-2022, 04:11 PM (This post was last modified: 06-13-2022, 04:12 PM by _Aka_.)
Hi
Please use the BuildVolumeMesh.AddMaterial and BuildVolumeMesh.SetMaterial methods to add and modify materials to the Build Volume Mesh module. Each material is associated with an instance of CGMaterialSettingsEx, which contains the settings displayed on your screenshot. Please ignore the MaterialId field, as it is obsolete, useless, and will be removed in version 9.0
I hope this helped
Have a nice day
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Thanks... I was looking at the API for the wrong CG module.
I had looked at a lot of past Forum post about materials. Several other people mentioned wanting to change materials based upon Metadata on CPs.
Please add this to version 9.0!
(06-14-2022, 09:28 PM)tairoark Wrote: Thanks... I was looking at the API for the wrong CG module.
I had looked at a lot of past Forum post about materials. Several other people mentioned wanting to change materials based upon Metadata on CPs.
Please add this to version 9.0!
;-)
Will try to
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.