User Guide (Version 1.14)


From C++, you can access the Gestures Gem interface using a convenience function such as the following:

#include <Gestures/IGesturesGem.h> IGesturesGem* GetIGesturesGem() { ISystem* system = GetISystem(); IGemManager* gemManager = system ? system->GetGemManager() : nullptr; return gemManager ? gemManager->GetGem<Gestures::IGesturesGem>() : nullptr; }

For examples of how to create and register your own gesture recognizers from C++, refer to the various GestureRecognizer*FlowNode.cpp files, which contain the code that drives the respective flow graph nodes.