Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > EntitySystem > TPropertyValueStorage > AddInitialValue
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneInitialValueCache.h |
Include | #include "EntitySystem/MovieSceneInitialValueCache.h" |
FInitialValueIndex AddInitialValue
&40;
UObject &42; BoundObject,
const StorageType & InValue,
uint16 ResolvedPropertyOffset
&41;
Remarks
- Add a cached value for the specified object and fast property ptr offset, returning a unique index for the value
-
Value must not have been cached previously - doing so will result in a failed assertion A tuple containing the cached value and its index
Parameters
Name | Description |
---|---|
BoundObject | The object instance to cache the property from |
InValue | The value to cache |
ResolvedPropertyOffset | The byte offset from BoundObject that defines the address of the property |