MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / UnbindAxis

Method UnbindAxis

include/RavEngine/InputManager.hpp:265–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 */
264 template<typename U>
265 void UnbindAxis(const std::string& name, IInputListener* thisptr, void(U::* f)(float), float deadZone = AxisCallback::defaultDeadzone){
266 AxisCallback axis(thisptr, f, deadZone);
267 axisMappings[name].remove(axis);
268 thisptr->OnUnregister(this);
269 }
270
271 /**
272 * Unbind all Action and Axis mappings for a given listener. Listeners automatically invoke this on destruction.

Callers 1

TestWorldMethod · 0.80

Calls 2

OnUnregisterMethod · 0.80
removeMethod · 0.45

Tested by 1

TestWorldMethod · 0.64