UBlendSpace::GetUniqueMarkerNames
#include "Animation/BlendSpace.h"
Access: public
Specifiers: virtualoverride
Description
Returns the set of unique sync marker names referenced across all animation samples in the blend space, used for marker-based animation syncing.
Caveats & Gotchas
- • Returns a pointer into cached data owned by the blend space; don't hold onto it across asset edits, since the cache is rebuilt when samples change.
- • Only meaningful if the blend space's samples themselves contain sync markers — a blend space built from markerless sequences returns an empty list.
Signature
virtual TArray<FName>* GetUniqueMarkerNames() override Return Type
TArray<FName>* Example
Checking available sync markers C++
if (TArray<FName>* MarkerNames = BlendSpaceAsset->GetUniqueMarkerNames())
{
for (const FName& MarkerName : *MarkerNames)
{
UE_LOG(LogTemp, Log, TEXT("Marker: %s"), *MarkerName.ToString());
}
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?