TPropertyValueStorage::AddInitialValue

Add a cached value for the specified object and fast property ptr offset, 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,
    uint16 ResolvedPropertyOffset
)

Remarks

Add a cached value for the specified object and fast property ptr offset, 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

ResolvedPropertyOffset

The byte offset from BoundObject that defines the address of 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