UInputModifier::GetVisualizationColor

Helper to allow debug visualization of the modifier.

Choose your operating system:

Windows

macOS

Linux

References

Module

EnhancedInput

Header

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

Include

#include "InputModifiers.h"

Syntax

UFUNCTION(BlueprintNativeEvent, Category="Modifier")
FLinearColor GetVisualizationColor
(
    FInputActionValue SampleValue,
    FInputActionValue FinalValue
) const

Remarks

Helper to allow debug visualization of the modifier.

Parameters

Parameter

Description

SampleValue

The base input action value pre-modification (ranging -1 -> 1 across all applicable axes).

FinalValue

The post-modification input action value for the provided SampleValue.