MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / AddInputChangedCallback

Method AddInputChangedCallback

Plugins/NativeInput/Source/NativeInput.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 NativeInput::Impl::InputStateChangedCallbackTicket NativeInput::Impl::AddInputChangedCallback(NativeInput::Impl::InputStateChangedCallback &&callback)
120 {
121 return m_inputChangedCallbacks.insert(std::move(callback));
122 }
123
124 const std::optional<int32_t> NativeInput::Impl::PollInput(DeviceType deviceType, int32_t deviceSlot, uint32_t inputIndex)
125 {

Callers 1

DeviceInputSystemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected