#include <customnodegui.h>
Base class for custom GUIs that require re-arrangement of node-based attributes in the attribute manager. This class provides the accessors to implement complex GUIs for non-variadic and variadic port bundles like the gradient, spline mapper or BSDF layer.
Public Member Functions | |
CustomNodeGuiBase (const BaseContainer &settings, CUSTOMGUIPLUGIN *plugin) | |
virtual Int32 | Message (const BaseContainer &msg, BaseContainer &result) override |
Result< BaseArray< DescID > > | GetReplacementIds () const |
Result< AttributeManagerProxyRef > | GetAttributeManager () |
Protected Attributes | |
CustomNodeGuiProxyRef | _proxy |
Private Member Functions | |
INSTANCEOF (CustomNodeGuiBase, iBaseCustomGui) | |
CustomNodeGuiBase | ( | const BaseContainer & | settings, |
CUSTOMGUIPLUGIN * | plugin | ||
) |
Constructor.
[in] | settings | The settings container. |
[in] | plugin | The plugin structure. |
|
private |
|
overridevirtual |
Called when a message is received.
[in] | msg | The readable message container. |
[out] | result | The writable message result container. |
Returns the DescIDs of all currently existing elements in the attribute manager that are associated with this gui.
Result<AttributeManagerProxyRef> GetAttributeManager | ( | ) |
Returns the attribute manager proxy which gives access to node-based attribute handling. Please note that access to the attribute manager proxy is only safe during lifetime of this gui instance.
|
protected |