UEnhancedInputLibrary::MakeInputActionValue

Builds an ActionValue from X, Y, Z.

Choose your operating system:

Windows

macOS

Linux

References

Module

EnhancedInput

Header

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

Include

#include "EnhancedInputLibrary.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/EnhancedInputLibrary.cpp

Syntax

UFUNCTION(BlueprintPure, Category="Input", Meta=(Keywords="construct build", NativeMakeFunc))
static FInputActionValue MakeInputActionValue
(
    float X,
    float Y,
    float Z,
    const FInputActionValue & MatchValueType
)

Remarks

Builds an ActionValue from X, Y, Z. Inherits type from an existing ActionValue. Ignores axis values unused by the provided value type. @note Intended for use in Input Modifier Modify Raw overloads to modify an existing Input Action Value.