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 helper functions

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: AttributeSet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attribute (‘undefined’): [Read-Write] Attribute

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

  • attribute_owner (Struct): [Read-Only] FProperty* Attribute;

property attribute_name

[Read-Only] Name of the attribute, usually the same as property name

Type

(str)