3ds Max C++ API Reference
|
Abstracts a set of nodes that all point to the the same object instance. More...
#include <INodeInstancingPool.h>
Classes | |
class | IManager |
Manages the creation and existence of node instancing pools. More... | |
class | INotifier |
Notification callback for monitoring changes in a node instancing pool. More... | |
Public Member Functions | |
virtual INode * | GetRepresentativeNode () const =0 |
Returns the pool's representative node. More... | |
virtual void | MonitorNodePool (INotifier ¬ifier) const =0 |
Registers a change notification callback, which gets called whenever the pool, or the instanced object, changes. More... | |
virtual void | StopMonitoringNodePool (INotifier ¬ifier) const =0 |
Unregisteres a notification callback previously registered with MonitorNodePool(). More... | |
Protected Member Functions | |
virtual | ~INodeInstancingPool () |
Abstracts a set of nodes that all point to the the same object instance.
This interface represents a set of nodes which, for rendering purposes, can be treated as all being instances of the same object. As such, the pool has a front-facing representative node which may be used to evaluate that shared/instanced object.
|
inlineprotectedvirtual |
|
pure virtual |
Returns the pool's representative node.
The representative node is the front-facing node that may be used to evaluate the object that is instanced by the pool. In theory, any node in the pool may be used for this purpose; this method simply chooses one of them.
Registers a change notification callback, which gets called whenever the pool, or the instanced object, changes.
notifier | The notification callback to be registered. |
Unregisteres a notification callback previously registered with MonitorNodePool().
notifier | The notification callback to be unregistered. |