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

◆ on_range_enter()

HookId MayaFlux::Nodes::Input::InputNode::on_range_enter ( double  min,
double  max,
const TypedHook< InputContext > &  callback 
)

Register callback for entering a value range.

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

Definition at line 160 of file InputNode.cpp.

161{
163}
PickCallback callback
Definition Picker.cpp:22
glm::ivec3 min
glm::ivec3 max
HookId add_input_callback(const TypedHook< InputContext > &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(), callback, max, min, and MayaFlux::Nodes::Input::RANGE_ENTER.

+ Here is the call graph for this function: