MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / createButton

Method createButton

examples/SharedMemory/RobotControlExample.cpp:305–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303
304}
305void RobotControlExample::createButton(const char* name, int buttonId, bool isTrigger )
306{
307 ButtonParams button(name,buttonId, isTrigger);
308 button.m_callback = MyCallback2;
309 button.m_userPointer = this;
310 m_guiHelper->getParameterInterface()->registerButtonParameter(button);
311}
312
313RobotControlExample::RobotControlExample(GUIHelperInterface* helper, int option)
314:SharedMemoryCommon(helper),

Callers

nothing calls this directly

Calls 2

getParameterInterfaceMethod · 0.45

Tested by

no test coverage detected