Navigation
API > API/Runtime > API/Runtime/MovieScene
Templated storage for any initial value type, templated on the same parameter as TPropertyComponents for correct retrieval of resolved properties Initial values are stored as a sparse array, with stable indices that uniquely identify the value. A look-up-table exists for finding indices based on an object and resolved property.
| Name | TPropertyValueStorage |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneInitialValueCache.h |
| Include Path | #include "EntitySystem/MovieSceneInitialValueCache.h" |
Syntax
template<typename PropertyTraits>
struct TPropertyValueStorage : public UE::MovieScene::IPropertyValueStorage
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| FKeyType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FPropertyKey | TVariant< uint16, FCustomPropertyIndex, FName > | EntitySystem/MovieSceneInitialValueCache.h | |
| StorageType | typename PropertyTraits::StorageType | EntitySystem/MovieSceneInitialValueCache.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLUTContainsInvalidEntries | bool | When true, KeyToPropertyIndex contains invalid entries which must be purged before use | EntitySystem/MovieSceneInitialValueCache.h | |
| KeyToPropertyIndex | TMap< FKeyType, uint16 > | LUT from object+property to its index. | EntitySystem/MovieSceneInitialValueCache.h | |
| PropertyValues | TSparseArray< StorageType > | Sparse array containing all cached property values | EntitySystem/MovieSceneInitialValueCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInitialValueIndex AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and fast property ptr offset, returning a unique index for the value | EntitySystem/MovieSceneInitialValueCache.h | |
FInitialValueIndex AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and a custom property accessor, returning a unique index for the value | EntitySystem/MovieSceneInitialValueCache.h | |
FInitialValueIndex AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and a slow bindings instance, returning a unique index for the value | EntitySystem/MovieSceneInitialValueCache.h | |
FInitialValueIndex AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and a propertypath, returning a unique index for the value | EntitySystem/MovieSceneInitialValueCache.h | |
const StorageType * FindCachedValue
(
UObject* BoundObject, |
Find an initial value given its object and property name. | EntitySystem/MovieSceneInitialValueCache.h | |
const StorageType * FindCachedValue
(
UObject* BoundObject, |
Find an initial value given its object and custom accessor index | EntitySystem/MovieSceneInitialValueCache.h | |
const StorageType * FindCachedValue
(
UObject* BoundObject, |
Find an initial value given its object and property name. | EntitySystem/MovieSceneInitialValueCache.h | |
TOptional< FInitialValueIndex > FindPropertyIndex
(
UObject* BoundObject, |
Find an initial value index given its object and fast ptr offset | EntitySystem/MovieSceneInitialValueCache.h | |
TOptional< FInitialValueIndex > FindPropertyIndex
(
UObject* BoundObject, |
Find an initial value index given its object and custom accessor index | EntitySystem/MovieSceneInitialValueCache.h | |
TOptional< FInitialValueIndex > FindPropertyIndex
(
UObject* BoundObject, |
Find an initial value index given its object and property name. | EntitySystem/MovieSceneInitialValueCache.h | |
const StorageType & GetCachedValue
(
FInitialValueIndex Index |
Find an initial value given its object and property name. | EntitySystem/MovieSceneInitialValueCache.h |
Overridden from IPropertyValueStorage
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Reset
(
TArrayView< const FInitialValueIndex > Indices |
Reset all the initial values that relate to the specified indices | EntitySystem/MovieSceneInitialValueCache.h |