Modifier

3DS Max Plug-In SDK

Modifier

See Also: Class Modifier.

This is the class from which you may derive modifier object plug-ins. The main methods are:

ModifyObject()

This is the method that actually modifies the input object. This is where the modifier does its work.

LocalValidity()

This is the validity interval of the modifier. It is the intersection of the validity intervals of any controllers the modifier has that are animating the modifier's parameters.

Methods are available to indicate to the system what type of input it needs from the pipeline.

ChannelsUsed()

These are channels that the modifier needs in order to perform its modification.

ChannelsChanged()

These are the channels that the modifier actually modifies.

InputType()

This is the type of object that the modifier knows how to modify. Simple modifiers that just modify points of an object can operate on generic 'Deformable' objects. Deformable objects are any type of object that has points. A modifier could also work on a particular type of object such as a tri object or patch object.

Methods are also available for saving the data a modifier uses and stores internally to manage its operation.

LoadLocalData()

SaveLocalData()

When a 3ds max file is being loaded or saved, these methods are called so that the modifier can load and save data it needs for its operation.