SimpleMod

3DS Max Plug-In SDK

SimpleMod

See Also: Class SimpleMod.

The SimpleMod class supplies most of the methods needed to implement a deformation modifier, reducing the amount of work needed to create one. This class is appropriate for modifiers which alter the geometry (vertices or points) of an object. The plug-in must implement a method to return the Deformer (the process which actually modifies the objects). If the plug-in displays any animated parameters to the user it must implement a method to update these parameters if the user has changed the current time slider.

These are the main methods:

GetDeformer()

This gets the deformer callback object from the derived class. This is the class with methods that actually deforms the object.

UpdateUI()

If the modifier is currently being edited, any parameters that appear in the user interface should be updated so that if the current time has changed, the UI will properly reflect the parameter values at that time.

GetValidity()

This method computes the validity interval for the modifier.