FGameplayAbilityInputBinds

Structure that tells AbilitySystemComponent what to bind to an InputComponent (see BindAbilityActivationToInputComponent)

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h

Include

#include "Abilities/GameplayAbilityTypes.h"

Syntax

struct FGameplayAbilityInputBinds

Remarks

Structure that tells AbilitySystemComponent what to bind to an InputComponent (see BindAbilityActivationToInputComponent)

Variables

Name Description

Public variable

FString

 

CancelTargetCommand

Defines command string that will be bound to Cancel Targeting

Public variable

int32

 

CancelTargetInputID

If >=0, Cancel is bound to an entry in the enum

Public variable

FString

 

ConfirmTargetCommand

Defines command string that will be bound to Confirm Targeting

Public variable

int32

 

ConfirmTargetInputID

If >=0, Confirm is bound to an entry in the enum

Public variable

FString

 

EnumName

Returns enum to use for ability binds.

Constructors

Name Description

Public function

FGameplayAbilityInputBinds

(
    FString InConfirmTargetCommand,
    FString InCancelTargetCommand,
    FString InEnumName,
    int32 InConfirmTargetInputID,
    int32 InCancelTargetInputID
)

Functions

Name Description

Public function

UEnum *

 

GetBindEnum()

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