unreal.BindableEnum¶
- class unreal.BindableEnum¶
Bases:
BindableValueBaseBindable enum value. Stores the raw int32 fallback alongside the UEnum class so that the editor binding picker can filter compatible enum variables.
The declaring node data type should initialize EnumClass and ConstantValue in its default constructor, e.g.:
LoopMode.SetConstantValue((int32)EAnimAssetLoopMode::Auto); LoopMode.EnumClass = StaticEnum<EAnimAssetLoopMode>();
Enums whose underlying type exceeds 32 bits are not supported; a runtime ensure will fire if such an enum is bound.
C++ Source:
Plugin: UAF
Module: UAF
File: UAFBindableTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
constant_value(int32): [Read-Write]enum_class(Enum): [Read-Write] Enum class for variable-picker filtering. Set by the declaring node’s constructor.