unreal.BindableStruct

class unreal.BindableStruct

Bases: BindableValueBase

Bindable struct value.

Call GetValue<T>(Instance, OutValue) to resolve the binding into caller-provided storage:
  • No binding (or null Instance): copies ConstantValue into OutValue, or zero-initializes OutValue if ConstantValue is empty.

  • Variable binding: reads the named variable from Instance into OutValue.

  • SubProperty binding: reads the leaf sub-property from a struct variable into OutValue.

T must be a USTRUCT. A runtime ensure verifies that T matches the bound or constant struct type.

C++ Source:

  • Plugin: UAF

  • Module: UAF

  • File: UAFBindableTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • constant_value (InstancedStruct): [Read-Write]

  • struct_class (ScriptStruct): [Read-Write] Struct class for variable-picker filtering. Set by the declaring node’s constructor.