TPropertyValueStorage::AddInitialValue

Add a cached value for the specified object and a custom property accessor, returning a unique index for the value @note Value must not have been cached previously - doing so will result in a failed assertion

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneInitialValueCache.h

Include

#include "EntitySystem/MovieSceneInitialValueCache.h"

Syntax

FInitialValueIndex AddInitialValue
(
    UObject * BoundObject,
    const StorageType & InValue,
    FCustomPropertyIndex AccessorIndex
)

Remarks

Add a cached value for the specified object and a custom property accessor, returning a unique index for the value @note Value must not have been cached previously - doing so will result in a failed assertion

Returns

A tuple containing the cached value and its index

Parameters

Parameter

Description

BoundObject

The object instance to cache the property from.

InValue

The value to cache

AccessorIndex

The index into ICustomPropertyRegistration::GetAccessors to use for resolving the property

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss