Engine-AddAxisMapping(string_string_float).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.Engine

Engine.AddAxisMapping(string, string, float) Method

Adds an engine defined mapping between an axis and key, cannot be remapped

public static void AddAxisMapping(string axisName, string key, float scale=1f);

Parameters

axisName System.String
Friendly name of axis

key System.String
Key to bind in accordance with Keys

scale System.Single
Multiplier to use for the mapping when accumulating the axis value