Navigation
API > API/Plugins > API/Plugins/Composite
Helper that manages a parallel array of spawnable bindings alongside a TArray
| Name | FCompositeSpawnableBindings |
| Type | struct |
| Header File | /Engine/Plugins/Compositing/Composite/Source/Composite/Public/CompositeSpawnableBinding.h |
| Include Path | #include "CompositeSpawnableBinding.h" |
Syntax
USTRUCT ()
struct FCompositeSpawnableBindings
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bindings | TArray< FCompositeSpawnableBinding > | Parallel array of bindings; entry i corresponds to actor i in the owning layer's actor array. | CompositeSpawnableBinding.h | |
| PreEditBindingsByPath | TMap< FSoftObjectPath, FCompositeSpawnableBinding > | Pre-edit bindings keyed by their actor's soft path, populated by CachePreEditState and consumed by SyncOnPropertyChange to carry bindings across path-stable edits. | CompositeSpawnableBinding.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CachePreEditState
(
TArrayView< const TSoftObjectPtr< AActor > > Actors |
Cache pre-edit state. | CompositeSpawnableBinding.h | |
bool HasBindingAt
(
int32 Index |
True if a spawnable binding is stored at Index. | CompositeSpawnableBinding.h | |
void SyncOnPropertyChange
(
TArrayView< TSoftObjectPtr< AActor > > NewActors, |
Sync bindings after the actor array has been replaced, using the state cached by CachePreEditState. | CompositeSpawnableBinding.h | |
bool TickResolveStale
(
TArray< TSoftObjectPtr< AActor > >& Actors, |
Throttled wrapper around TryResolveStale for per-frame contexts (Tick / OnEndOfFrameUpdate). | CompositeSpawnableBinding.h | |
bool TryResolveStale
(
TArray< TSoftObjectPtr< AActor > >& Actors, |
Resolve stale actor soft pointers from their stored bindings. | CompositeSpawnableBinding.h |