Cortex
10.0.0-a4
|
A nuke knob capable of holding arbitrary IECore::Objects. More...
#include <ObjectKnob.h>
Inherits Knob.
Public Member Functions | |
bool | setValue (IECore::ConstObjectPtr value) |
IECore::ConstObjectPtr | getValue () const |
Static Public Member Functions | |
static ObjectKnob * | objectKnob (DD::Image::Knob_Callback f, IECore::ObjectPtr *storage, const char *name, const char *label) |
A nuke knob capable of holding arbitrary IECore::Objects.
|
static |
Call this from an Op::knobs() implementation to create an ObjectKnob. The value placed in storage by the knob must be treated as read only.
bool IECoreNuke::ObjectKnob::setValue | ( | IECore::ConstObjectPtr | value | ) |
A copy of the value is taken. Returns true if the new value is different to the old value and false otherwise.