Navigation
API > API/Runtime > API/Runtime/MovieScene
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&);
| Name | FPreAnimatedStateTraits |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/PreAnimatedState/MovieScenePreAnimatedStateStorage.h |
| Include Path | #include "Evaluation/PreAnimatedState/MovieScenePreAnimatedStateStorage.h" |
Syntax
struct FPreAnimatedStateTraits
Derived Classes
Enums
Public
| Name | Remarks |
|---|---|
| FPreAnimatedStateTraits |