unreal.GameplayAttribute

class unreal.GameplayAttribute(attribute_name='')

Bases: unreal.StructBase

Describes a FGameplayAttributeData or float property inside an attribute set. Using this provides editor UI and gelper functions

C++ Source:

  • Plugin: GameplayAbilities
  • Module: GameplayAbilities
  • File: AttributeSet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attribute (Property): [Read-Write] Attribute
  • attribute_name (str): [Read-Only] Name of the attribute, usually the same as property name
  • attribute_owner (Struct): [Read-Only] Attribute Owner
attribute_name

(str) – [Read-Only] Name of the attribute, usually the same as property name