
描述
StructFunction makes USTRUCT methods feel like first-class Blueprint functions.
Pain Points This Plugin Solves:
- Unreal does not support declaring UFUNCTION directly inside USTRUCT, while using UObject wrappers introduces GC/object overhead for value-like data.
- Blueprint lacked an ergonomic abstraction for polymorphic FInstancedStruct calls; this plugin provides that path.
- Type-safe action filtering for FInstancedStruct contexts is non-trivial without extra compiler/editor integration.
What You Get:
- USTRUCTFUNCTION(...) macro to expose struct methods to Blueprints.
- Polymorphic calls for regular struct pins and FInstancedStruct pins.
- Typed action filtering for FInstancedStruct contexts (property metadata, make-node type, and function metadata when available).
- Cleaner editor UX for struct function nodes (original names and struct-oriented navigation).
Requirements:
- Unreal Engine 5.7
- Engine plugin dependency: StructUtils (Epic built-in, not a third-party dependency)
Support: https://github.com/Evianaive/StructFunction