FInputActionValue::Get

TODO: Would prefer a value type checked version here but this is complicated by the ability to change action value types within the editor.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/InputActionValue.h

Include

#include "InputActionValue.h"

Syntax

template<typename T>
T Get() const

Remarks

TODO: Would prefer a value type checked version here but this is complicated by the ability to change action value types within the editor. TODO: Binding helpers to limit key types that can be bound? Stop players binding an Axis2D input device to a bool action value.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss