FWorldSnapshotData::AddSubobjectDependency

Adds a subobject dependency.

Windows
MacOS
Linux

References

Module

LevelSnapshots

Header

/Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Public/Data/WorldSnapshotData.h

Include

#include "Data/WorldSnapshotData.h"

Source

/Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshots/Private/Data/WorldSnapshotData.cpp

Syntax

int32 AddSubobjectDependency
(
    UObject * ReferenceFromOriginalObject
)

Remarks

Adds a subobject dependency. Intended for internal objects which need to store serialized data, e.g. components and other subobjects. Implicitly calls AddObjectDependency.

Returns

A valid index in SerializedObjectReferences and the corresponding subobject data.

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