MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetInputMappingToDefaultSettings

Method SetInputMappingToDefaultSettings

Source/Engine/Input/Input.cpp:663–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663void Input::SetInputMappingToDefaultSettings()
664{
665 PROFILE_MEM(Input);
666 InputSettings* settings = InputSettings::Get();
667 if (settings)
668 {
669 ActionMappings = settings->ActionMappings;
670 AxisMappings = settings->AxisMappings;
671 Axes.Clear();
672 Actions.Clear();
673 }
674}
675
676ActionConfig Input::GetActionConfigByName(const StringView& name)
677{

Callers

nothing calls this directly

Calls 2

GetFunction · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected