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

Functions

virtual int NumPFSystems ()=0
 returns number of PFSystems in the current scene
 
virtual INodeGetPFSystem (int i)=0
 Returns i-th PFSystem in the scene.
 
virtual bool HasPFSystem (INode *node)=0
 Checks if the given PFSystem node is present in the scene.
 
virtual bool HasPFSystemByHandle (int handle)=0
 Check if the scene has a PFSystem with the given node handle.
 
virtual int RegisterNotification (NOTIFYPROC proc, void *param)=0
 Register notification with the PFSystem pool.
 
virtual int UnRegisterNotification (NOTIFYPROC proc, void *param)=0
 Unregister notification with the PFSystem pool.
 
FPInterfaceDescGetDesc ()
 

 
PFExport IPFSystemPool ()
 

Variables

static IPFSystemPoolm_pool
 

Friends

PFExport IPFSystemPoolGetPFSystemPool ()
 Friend function declarations.
 

Detailed Description

Function Documentation

◆ NumPFSystems()

virtual int NumPFSystems ( )
pure virtual

returns number of PFSystems in the current scene

◆ GetPFSystem()

virtual INode * GetPFSystem ( int  i)
pure virtual

Returns i-th PFSystem in the scene.

Parameters
iPFSystem index

◆ HasPFSystem()

virtual bool HasPFSystem ( INode node)
pure virtual

Checks if the given PFSystem node is present in the scene.

Parameters
nodePFSystem node

◆ HasPFSystemByHandle()

virtual bool HasPFSystemByHandle ( int  handle)
pure virtual

Check if the scene has a PFSystem with the given node handle.

◆ RegisterNotification()

virtual int RegisterNotification ( NOTIFYPROC  proc,
void param 
)
pure virtual

Register notification with the PFSystem pool.

The given function is called each time the set of all PFSystems is changing. Returns nonzero if the event was registered; otherwise zero.

Parameters
procThe callback function called when the event occurs.
paramA pointer that is passed to the callback function when the notification is made.

◆ UnRegisterNotification()

virtual int UnRegisterNotification ( NOTIFYPROC  proc,
void param 
)
pure virtual

Unregister notification with the PFSystem pool.

This function is called to break the connection between the event and the callback. After this function executes the callback is no longer invoked when the event occurs. Returns nonzero if the event was unregistered; otherwise zero.

Parameters
procThe callback function called when the event occurs.
paramA pointer that is passed to the callback function when the notification is made.

◆ GetDesc()

FPInterfaceDesc * GetDesc ( )
inlinevirtual


Implements FPInterface.

#define PFSYSTEMPOOL_INTERFACE
Definition: IPFSystemPool.h:23
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613

◆ IPFSystemPool()

PFExport IPFSystemPool ( )
protected

Variable Documentation

◆ m_pool

IPFSystemPool* m_pool
staticprotected

Friends

◆ GetPFSystemPool

PFExport IPFSystemPool * GetPFSystemPool ( )
friend

Friend function declarations.