#include <simpmod.h>

Public Member Functions |
|
| SimpleWSMMod2 () | |
| Animatable * | SubAnim (int i) |
| RefTargetHandle | GetReference (int i) |
| Returns the 'i-th' reference. |
|
| void | SimpleWSMModClone (SimpleWSMMod2 *smodSource) |
| void | SimpleWSMModClone (SimpleWSMMod2 *smodSource, RemapDir &remap) |
Public Attributes |
|
| IParamBlock2 * | pblock2 |
Protected Member Functions |
|
| virtual void | SetReference (int i, RefTargetHandle rtarg) |
| Stores a
ReferenceTarget as its 'i-th' reference`. |
|
| SimpleWSMMod2 | ( | ) | [inline] |
{ pblock2 = NULL; }
| Animatable* SubAnim | ( | int | i | ) | [virtual] |
| i | This is the index of the sub-anim to return. |
Reimplemented from SimpleWSMMod.
| RefTargetHandle GetReference | ( | int | i | ) | [virtual] |
Returns the 'i-th' reference.
The plugin implements this method to return its 'i-th' reference. The plug-in simply keeps track of its references using an integer index for each one. This method is normally called by the system.
| i | - The index of the reference to retrieve. Valid values are from 0 to NumRefs()-1. |
Reimplemented from SimpleWSMMod.
| virtual void SetReference | ( | int | i, |
| RefTargetHandle | rtarg | ||
| ) | [protected, virtual] |
Stores a ReferenceTarget as its 'i-th' reference`.
The plugin implements this method to store the reference handle passed to it as its 'i-th' reference. In its implementation of this method, the plugin should simply assign the reference handle passed in as a parameter to the member variable that holds the 'i-th' reference. Other reference handling methods such as ReferenceMaker::DeleteReference(), or ReferenceMaker::ReplaceReference() should not be called from within this method. The plugin itself or other plugins should not call this method directly. The system will call this method when a new reference is created or an existing one is replaced by calling ReferenceMaker::ReplaceReference().
| i | - The index of the reference to store. Valid values are from 0 to NumRefs()-1. |
| rtarg | - The reference handle to store. |
Reimplemented from SimpleWSMMod.
| void SimpleWSMModClone | ( | SimpleWSMMod2 * | smodSource | ) |
| void SimpleWSMModClone | ( | SimpleWSMMod2 * | smodSource, |
| RemapDir & | remap | ||
| ) |