TPropertyValueStorage::AddInitialValue

Add a cached value for the specified object and a slow bindings instance, 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,
    FTrackInstancePropertyBindings * SlowBindings
)

Remarks

Add a cached value for the specified object and a slow bindings instance, 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

SlowBindings

Pointer to the track instance property bindings object used for retrieving the property value

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