holycause Posted June 25, 2016 Share Posted June 25, 2016 It's easy to write new functions for Vex, but is it possible to add new data types? I d like to be use classes I wrote in c++ Quote Link to comment Share on other sites More sharing options...
bonsak Posted June 26, 2016 Share Posted June 26, 2016 (edited) Hi Vex does not have inheritance so you can't make classes, but you can make structs: https://www.sidefx.com/docs/houdini15.0/vex/lang#structs It's not exactly what you're after but it could be usefull. -b Edited June 26, 2016 by bonsak Quote Link to comment Share on other sites More sharing options...
holycause Posted June 26, 2016 Author Share Posted June 26, 2016 thanks, Unfortunately, I won't be able to use structs. nevermind, thanks anyway Quote Link to comment Share on other sites More sharing options...
millag Posted June 29, 2016 Share Posted June 29, 2016 Hi, Not sure if that helps at all but you may use custom structs to initialize instances of your c++ classes? Cheers, Mila. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.