MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ on_range_enter()

void MayaFlux::Nodes::Input::InputNode::on_range_enter ( double  min,
double  max,
const NodeHook callback 
)

Register callback for entering a value range.

Parameters
minRange minimum
maxRange maximum
callbackFunction to call when value enters range

Definition at line 152 of file InputNode.cpp.

153{
154 add_input_callback(callback, InputEventType::RANGE_ENTER, {}, { { min, max } });
155}
void add_input_callback(const NodeHook &callback, InputEventType event_type, std::optional< double > threshold={}, std::optional< std::pair< double, double > > range={}, std::optional< NodeCondition > condition={})
@ RANGE_ENTER
Value entered specified range.

References add_input_callback(), and MayaFlux::Nodes::Input::RANGE_ENTER.

+ Here is the call graph for this function: