#include "PFExport.h"#include "ParticleChannelMask.h"#include "../ifnpub.h"#include "../object.h"
Classes |
|
| class | IPFAction |
Defines |
|
| #define | PFACTION_INTERFACE Interface_ID(0x74f93d00, 0x1eb34500) |
| #define | GetPFActionInterface(obj) ((IPFAction*)((GetPFObject(obj))->GetInterface(PFACTION_INTERFACE))) |
| #define | PROPID_FINALUPDATETIME 0x00635690 |
Enumerations |
|
| enum | { kPF_GetActionDescription = 781, kPF_GetActionName, kPF_PViewPublic, kPF_PViewCategory, kPF_IsFertile, kPF_IsNonExecutable, kPF_PViewDepotIcon } |
Functions |
|
| PFExport Object * | GetPFObject (Object *obj) |
| IPFAction * | PFActionInterface (Object *obj) |
| IPFAction * | PFActionInterface (INode *node) |
| PFExport int | IsPFActionActive (INode *actionNode) |
| An action may be turned ON, OFF, True and
False in Particle
View. |
|
| #define PFACTION_INTERFACE Interface_ID(0x74f93d00, 0x1eb34500) |
| #define GetPFActionInterface | ( | obj | ) | ((IPFAction*)((GetPFObject(obj))->GetInterface(PFACTION_INTERFACE))) |
| #define PROPID_FINALUPDATETIME 0x00635690 |
| anonymous enum |
| kPF_GetActionDescription | |
| kPF_GetActionName | |
| kPF_PViewPublic | |
| kPF_PViewCategory | |
| kPF_IsFertile | |
| kPF_IsNonExecutable | |
| kPF_PViewDepotIcon |
{ kPF_GetActionDescription = 781,
// defines an action name to be shown in the action depot area in PView
// if the method is not supported then the class name of the action is used
kPF_GetActionName,
// defines if the action is shown in ParticleView Action Depot window
// if the execute is not implemented then it is assumed that the action is
// public
kPF_PViewPublic,
// defines a category for the action to be placed in the Action Depot
// the call is reserved for future use. If the execute is not implemented
// then the category is assigned according to the action type (operator or test)
kPF_PViewCategory,
// defines if the action is "fertile". It means it is able to generate particles
// from nothing. If the execute is not implemented then it is assumed
// that the action is not "fertile".
kPF_IsFertile,
// defines if the action is "non-executable". Non-executable action doesn't
// affect particle behavior. The action is present in the action schematics
// but its presence doesn't change how the particles are shown or rendered.
// If the execute is not implemented then it is assumed that the action is
// executable.
kPF_IsNonExecutable,
// returns bitmap with icon for the depot window of ParticleView
// if the execute is not implemented then a default icon is used
kPF_PViewDepotIcon
};
{
return ((obj == NULL) ? NULL : GetPFActionInterface(obj));
};
{
return ((node == NULL) ? NULL : PFActionInterface(node->GetObjectRef()));
};