Navigation
API > API/Runtime > API/Runtime/MovieScene
Container that houses initial values for any properties animated through FEntityManager Each type is stored in its own container, organized by the initial value component ID The cache is stored as a singleton (through GetSharedInitialValues()) and added as an extension to UMovieSceneEntitySystemLinker where it is active.
| Name | FInitialValueCache |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneInitialValueCache.h |
| Include Path | #include "EntitySystem/MovieSceneInitialValueCache.h" |
Syntax
struct FInitialValueCache
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StorageByComponent | TMap< FComponentTypeID, TUniquePtr< IPropertyValueStorage > > | EntitySystem/MovieSceneInitialValueCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TPropertyValueStorage< PropertyTraits > * FindStorage
(
FComponentTypeID InitialValueType |
Retrieve the initial value storage for a given initial value type. | EntitySystem/MovieSceneInitialValueCache.h | |
TPropertyValueStorage< PropertyTraits > * FindStorage
(
const TPropertyComponents< PropertyTraits >& PropertyComponents |
Retrieve the initial value storage for a given property type. | EntitySystem/MovieSceneInitialValueCache.h | |
TPropertyValueStorage< PropertyTraits > * GetStorage
(
FComponentTypeID InitialValueType |
Retrieve the initial value storage for a given initial value type, creating it if necessary. | EntitySystem/MovieSceneInitialValueCache.h | |
TPropertyValueStorage< PropertyTraits > * GetStorage
(
const TPropertyComponents< PropertyTraits >& PropertyComponents |
Retrieve the initial value storage for a given property type, creating it if necessary | EntitySystem/MovieSceneInitialValueCache.h | |
void Reset
(
FComponentTypeID InitialValueType, |
Reset all the initial values that relate to the specified type and indices | EntitySystem/MovieSceneInitialValueCache.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TEntitySystemLinkerExtensionID< FInitialValueCache > GetExtensionID() |
Retrieve the extension ID for this structure when added to a UMovieSceneEntitySystemLinker | EntitySystem/MovieSceneInitialValueCache.h | |
static TSharedPtr< FInitialValueCache > GetGlobalInitialValues () |
Retrieve a container used for sharing initial values between linkers. | EntitySystem/MovieSceneInitialValueCache.h |