3ds Max C++ API Reference
Loading...
Searching...
No Matches
IPFActionExt.h File Reference

Action-generic interface IPFActionExt. More...

#include "PFExport.h"
#include "../ifnpub.h"
#include "../object.h"

Classes

class  IPFActionExt

Macros

#define PFACTIONEXT_INTERFACE   Interface_ID(0x0e789fcb, 0x1eb34500)
#define GetPFActionExtInterface(obj)

Functions

PFExport ObjectGetPFObject (Object *obj)
IPFActionExtPFActionExtInterface (Object *obj)
IPFActionExtPFActionExtInterface (INode *node)

Detailed Description

Action-generic interface IPFActionExt.

Used as an extension for IPFAction interface without breaking the SDK. The interface is NOT a part of every PF Operator & Test, only for those that need it.

Macro Definition Documentation

◆ PFACTIONEXT_INTERFACE

#define PFACTIONEXT_INTERFACE   Interface_ID(0x0e789fcb, 0x1eb34500)

◆ GetPFActionExtInterface

#define GetPFActionExtInterface ( obj)
Value:
CoreExport FPInterface * GetInterface(SClass_ID super, Class_ID cls, Interface_ID id)
Get ID'd interface from ClassDesc for given class/sclass.
#define PFACTIONEXT_INTERFACE
Definition IPFActionExt.h:25
PFExport Object * GetPFObject(Object *obj)
ParticleFlow relays on presence of specific interfaces in PF objects.
Definition IPFActionExt.h:29

Function Documentation

◆ GetPFObject()

PFExport Object * GetPFObject ( Object * obj)

◆ PFActionExtInterface() [1/2]

IPFActionExt * PFActionExtInterface ( Object * obj)
inline
84 {
85 return ((obj == NULL) ? NULL : GetPFActionExtInterface(obj));
86};
#define GetPFActionExtInterface(obj)
Definition IPFActionExt.h:26
#define NULL
Definition autoptr.h:18

◆ PFActionExtInterface() [2/2]

IPFActionExt * PFActionExtInterface ( INode * node)
inline
91 {
92 return ((node == NULL) ? NULL : PFActionExtInterface(node->GetObjectRef()));
93};
IPFActionExt * PFActionExtInterface(Object *obj)
Definition IPFActionExt.h:84
virtual Object * GetObjectRef()=0