Nuke binary plugins  14.0.8
DD::Image::GeomOpEngine::KnobBinding Class Reference

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 >
get (const OutputContext *ctx) const
 Returns the value of the knob at the given OutputContext.
 
template<class T >
get (fdk::TimeValue time=fdk::defaultTimeValue(), int view=-1) const
 Returns the value of the knob at the given time and view.
 

Detailed Description

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.
www.foundry.com