FWorldSnapshotData::ResolveObjectDependencyForEditorWorld

Resolves an object dependency for use in the editor world.

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

UObject * ResolveObjectDependencyForEditorWorld
(
    int32 ObjectPathIndex,
    const FPropertySelectionMap & SelectionMap
)

Remarks

Resolves an object dependency for use in the editor world. If the object is a subobject, it is serialized. Steps for serializing subobject:

  • If an equivalent object with the saved name and class exists, use that and serialize the properties in SelectionMap into it.

  • Otherwise allocate a new object and serialize all properties into it

  • Replaces all references to the trashed object with the new one

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