Message 1 of 2
Maxscript Structs
Not applicable
09-03-2016
08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
the On Create is basically the same as the default constructor in other languages.
But is there a default destructor to clear the memory and the scene of all the things the struct has added.
I tried using "on delete do" and function delete = ().
I used "function del = ()" that deleted all the associated geometry and modifiers etc.
But is there some way of deleting the struct itself. I did try StructInstance= undefined.
also is there a 'this' function?
Raj