You are viewing documentation for v1.1. Switch to current version โ†’

๐Ÿงฉ Object Variable Structures

Short Description

Supporting structs for editor pin configuration and multimap values.

Long Description

Object Variable tooling relies on editor-only pin configuration data and a multimap value wrapper to keep variable container behavior consistent. These structs are primarily used by editor utilities and UI to present Object Variables correctly in Blueprints.

๐Ÿš€ Features

  • Pin configuration metadata for Blueprint node pins.
  • Multimap value wrapper used by multimap container variables.

๐Ÿ“š Usage Examples

FObjectVariablePinConfiguration_S PinConfig(
    UEdGraphSchema_K2::PC_Float,
    NAME_None,
    nullptr,
    EObjectVariableContainerType_E::ESingle,
    false
);

These structs are typically configured via details panels rather than manual Blueprint scripting.

FObjectVariablePinConfiguration_S

Describes how an Object Variable should appear as a Blueprint pin, including container type and terminal type overrides.

This is a struct; configure properties directly in editor tools.

FEdGraphPinType PinType = PinConfig.GetMappedPinType();

FObjectVariableMultiMapValue

Wrapper that stores the array of Object Variable values for a multimap entry.

This is a struct; populate the Values array directly.

FObjectVariableMultiMapValue Entry;
Entry.Values.Add(SomeObjectVariable);

Best Practices

  • Use pin configuration only in editor-only contexts.
  • Treat multimap entries as value arrays keyed by the owning map.

Troubleshooting

  • If pin types render incorrectly, verify the pin configuration fields match the desired container type.