#include <GeomOp.h>
Public Member Functions | |
KnobBinding (Knob *knob) | |
KnobBinding (const KnobBinding &other)=default | |
operator bool () const | |
Returns true if the reference to the knob is valid. | |
bool | isAnimated () const |
Returns true if the knob is animated. | |
bool | isUniform () const |
Returns true if the knob is not animated. | |
const Authoring::Mode | getAuthoringMode () const |
Returns the authoring mode of the knob. | |
template<class T > | |
T | get (const OutputContext *ctx) const |
Returns the value of the knob at the given OutputContext. | |
template<class T > | |
T | get (fdk::TimeValue time=fdk::defaultTimeValue(), int view=-1) const |
Returns the value of the knob at the given time and view. | |
A class which gives a read handle onto a Knob, allowing GeomEngines to fetch knob values and query animation state. This should be used in preference to raw knob pointers which are not safe to use from GeomEngine.
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |