Shape Control interface to change the shape of a given particle system.
This is used to change the shape type of the shape action object from the particle flow simulation engine with the shape type coming from the nCache particle files generated from Softimage. This interface is implemented by 3ds Max.
#include <IICEFlowShapeControl.h>
Public Member Functions |
|
virtual int | SetShape (INode *shapeLib, int shape)=0 |
Sets the shape type into the specified
object. |
|
Static Public Member Functions |
|
static IICEFlowShapeControl * | GetInstance () |
Retrieves the single instance of the
IICEFlowShapeControl. |
virtual int SetShape | ( | INode * | shapeLib, |
int | shape | ||
) | [pure virtual] |
Sets the shape type into the specified object.
[in] | shapeLib | the shape object whose shape will be changed |
[in] | shape | the number of the shape as specified in the nCache file. |
static IICEFlowShapeControl* GetInstance | ( | ) | [inline, static] |
Retrieves the single instance of the IICEFlowShapeControl.
{ return static_cast<IICEFlowShapeControl*>(GetCOREInterface(ICEFLOWSHAPE_CONTROL_INTERFACE)); }