This reference page is linked to from the following overview topics: 3DXI Modifiers.
Simple wrapper for 3ds Max modifiers.
This is an IGame wrapper for the basic 3ds Max modifier class. This is provided so that the developer does not need to walk the modifier stack and look for derived objects. An instance of this class is obtained from IGameObject class
#include <IGameModifier.h>
Public Types |
|
enum | ModType { IGAME_SKINNING, IGAME_MORPHER, IGAME_GENERAL } |
IGame modifier types. More... |
|
Public Member Functions |
|
IGameModifier (Modifier *mod, INode *node) | |
The IGameModifier
constructor. |
|
virtual ModType | GetModifierType ()=0 |
Get IGameModifier type.
|
|
virtual MCHAR * | GetUIName () |
Get the modifier Name. |
|
virtual MCHAR * | GetInternalName () |
Get the modifier Name. |
|
virtual Modifier * | GetMaxModifier () |
Access to the 3ds Max modifier. |
|
virtual void | EffectedNodes (Tab< INode * > &nodeList) |
Access to the nodes this modifier is applied
to. |
|
virtual bool | IsSkin () |
Check whether the modifier is a skinning
modifier. |
|
virtual bool | IsMorpher () |
Check whether the modifier is the morpher
modifier. |
|
virtual | ~IGameModifier () |
enum ModType |
IGame modifier types.
These are the modifiers known to IGame
IGAME_SKINNING |
A skinning Modifier. |
IGAME_MORPHER |
A Morphing based Modifier/Object. |
IGAME_GENERAL |
A generic 3ds Max modifier. |
{ IGAME_SKINNING, IGAME_MORPHER, IGAME_GENERAL, };
IGameModifier | ( | Modifier * | mod, |
INode * | node | ||
) |
The IGameModifier constructor.
*mod | The 3ds Max modifier to initialise |
*node | The 3ds Max node to initialise |
virtual ~IGameModifier | ( | ) | [virtual] |
virtual ModType GetModifierType | ( | ) | [pure virtual] |
Get IGameModifier type.
Return the Type of Modifier IGameModifier represents
virtual MCHAR* GetUIName | ( | ) | [virtual] |
virtual MCHAR* GetInternalName | ( | ) | [virtual] |
Get the modifier Name.
The internal name of the modifier
virtual Modifier* GetMaxModifier | ( | ) | [virtual] |
Access to the 3ds Max modifier.
This is provided so the developer can get to any LocalModData that may have been added to the modifier
Access to the nodes this modifier is applied to.
This enumerates all the nodes that are effected by this modifier.
&nodeList | The tab to receive the node list. This will always be at least 1 in size, as it will contain the original node. |
virtual bool IsSkin | ( | ) | [virtual] |
Check whether the modifier is a skinning modifier.
virtual bool IsMorpher | ( | ) | [virtual] |
Check whether the modifier is the morpher modifier.