UBlueprintInstancedStructLibrary
Inherits: UObjectBase › UObjectBaseUtility › UObject › UBlueprintFunctionLibrary › UBlueprintInstancedStructLibrary
#include "Kismet/BlueprintInstancedStructLibrary.h" Description
Function library that exposes FInstancedStruct — a type-erased container that can hold an instance of any UScriptStruct — to Blueprint graphs.
Caveats & Gotchas
- • The Blueprint nodes (MakeInstancedStruct, SetInstancedStructValue, GetInstancedStructValue) use CustomThunk wildcard pins wired up by the Blueprint compiler; there is no direct C++ equivalent call signature — construct and manipulate FInstancedStruct directly from C++ instead.
- • GetInstancedStructValue only succeeds if the InstancedStruct's contained type exactly matches (or is compatible with) the requested output pin type; a mismatch routes to the "Not Valid" exec pin rather than throwing an error.
Signature
class UBlueprintInstancedStructLibrary : public UBlueprintFunctionLibrary Functions (8)
Instanced Struct 8 ▼
| Access | Type | Name |
|---|---|---|
| public | function | UBlueprintInstancedStructLibrary::EqualEqual_InstancedStruct |
| public | function | UBlueprintInstancedStructLibrary::GetInstancedStructValue |
| public | function | UBlueprintInstancedStructLibrary::IsInstancedStructValid |
| public | function | UBlueprintInstancedStructLibrary::IsValid_InstancedStruct |
| public | function | UBlueprintInstancedStructLibrary::MakeInstancedStruct |
| public | function | UBlueprintInstancedStructLibrary::NotEqual_InstancedStruct |
| public | function | UBlueprintInstancedStructLibrary::Reset |
| public | function | UBlueprintInstancedStructLibrary::SetInstancedStructValue |
See Also
Tags
Version History
Introduced in: 5.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?