UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::MovieScene::FPreAnimatedStateTraits Struct Reference

#include <MovieScenePreAnimatedStateStorage.h>

+ Inheritance diagram for UE::MovieScene::FPreAnimatedStateTraits:

Public Types

enum  { NeedsInitialize = false , SupportsGrouping = false , SupportsReplaceObject = false }
 

Detailed Description

Base class for all pre-animated state traits.

Inherit from this class to get the default flag values. The sub-class must/might implement the following members:

(mandatory) typedef or alias KeyType, must be constructible from (InputTypes...) typedef or alias StorageType void RestorePreAnimatedValue(const KeyType&, const StorageValue&, const FRestoreStateParams&);

(optional, if using the ECS-wide tasks for tracking and caching state) StorageType CachePreAnimatedValue(InputTypes...);

(optional, if NeedsInitialize is true) void Initialize(FPreAnimatedStorageID, FPreAnimatedStateExtension*);

(optional, if SupportsGrouping is true) FPreAnimatedStorageGroupHandle MakeGroup(InputTypes...);

(optional, if SupportsReplaceObject is true) void ReplaceObject(KeyType&, const FObjectKey&);

Member Enumeration Documentation

◆ anonymous enum

Enumerator
NeedsInitialize 
SupportsGrouping 
SupportsReplaceObject 

The documentation for this struct was generated from the following file: