We create a new publicĬlass to implement this and other assembly functions for more clarity. Including the main plug-in class and the class descriptor. You can implement this function in any public class in your plug-in's namespace, NET Assembly Loader, you will need to register your plug-in with 3ds Max by exposing a public staticįunction named AssemblyMain(). dll file in \bin\assemblies and restarting 3ds Max. Your plug-in project can be compiled at this point,īut 3ds Max still cannot recognize it even after placing the. You do not need to explicitly define a constructor for your plug-in class since yourĬall in Descriptor::Create() does not take any arguments. Implement Abstract Class to create stubs for the functions you have to implement. You can right click on the class descriptor declaration name and select The descriptor class returns an object of your plug-in class in its Create() function. You can define your own class descriptor that extends from 2. Classĭescriptors are explained in Getting Started Writing Plug-ins. Net Plug-ins also need class descriptors, similar to unmanaged (C++) plug-ins. Public override void EndEditParams(IInterface ip, IIUtil iu) Public override void BeginEditParams(IInterface ip, IIUtil iu)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |