unreal.GameplayTargetDataFilter

class unreal.GameplayTargetDataFilter(required_actor_class=None, self_filter=TargetDataFilterSelf.TDFS_ANY, reverse_filter=False)

Bases: unreal.StructBase

Simple actor target filter, games can subclass this

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayAbilityTargetDataFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • required_actor_class (type(Class)): [Read-Write] Subclass actors must be to pass the filter.

  • reverse_filter (bool): [Read-Write] Reverses the meaning of the filter, so it will exclude all actors that pass.

  • self_filter (TargetDataFilterSelf): [Read-Write] Filter based on whether or not this actor is “self.”

property required_actor_class

[Read-Write] Subclass actors must be to pass the filter.

Type

(type(Class))

property reverse_filter

[Read-Write] Reverses the meaning of the filter, so it will exclude all actors that pass.

Type

(bool)

property self_filter

[Read-Write] Filter based on whether or not this actor is “self.”

Type

(TargetDataFilterSelf)