Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem
Inheritance Hierarchy
- IPropertyValueStorage
- TPropertyValueStorage
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneInitialValueCache.h |
| Include | #include "EntitySystem/MovieSceneInitialValueCache.h" |
Syntax
template<typename PropertyTraits>
struct TPropertyValueStorage : public UE::MovieScene::IPropertyValueStorage
Remarks
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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FInitialValueIndex | AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and fast property ptr offset, returning a unique index for the value | |
| FInitialValueIndex | AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and a custom property accessor, returning a unique index for the value | |
| FInitialValueIndex | AddInitialValue
(
UObject* BoundObject, |
Add a cached value for the specified object and a slow bindings instance, returning a unique index for the value | |
| const StorageType * | FindCachedValue
(
UObject* BoundObject, |
Find an initial value given its object and property name. | |
| const StorageType * | FindCachedValue
(
UObject* BoundObject, |
Find an initial value given its object and custom accessor index | |
| const StorageType * | FindCachedValue
(
UObject* BoundObject, |
Find an initial value given its object and property name. | |
| TOptional< FInitialValueIndex > | FindPropertyIndex
(
UObject* BoundObject, |
Find an initial value index given its object and fast ptr offset | |
| TOptional< FInitialValueIndex > | FindPropertyIndex
(
UObject* BoundObject, |
Find an initial value index given its object and custom accessor index | |
| TOptional< FInitialValueIndex > | FindPropertyIndex
(
UObject* BoundObject, |
Find an initial value index given its object and property name. | |
| const StorageType & | GetCachedValue
(
FInitialValueIndex Index |
Find an initial value given its object and property name. |
Overridden from IPropertyValueStorage
| Type | Name | Description | |
|---|---|---|---|
| void | Reset
(
TArrayView< const FInitialValueIndex > Indices |
Reset all the initial values that relate to the specified indices |
Typedefs
| Name | Description |
|---|---|
| FPropertyKey | |
| StorageType |