UObject::BuildSubobjectMapping

Given OtherObject (which will be the same type as 'this'), recursively find any matching sub-objects from 'this' that also exist within OtherObject, and add the mappings to ObjectMapping.

Windows
MacOS
Linux

Override Hierarchy

UObject::BuildSubobjectMapping()

UEdGraph::BuildSubobjectMapping()

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h

Include

#include "UObject/Object.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp

Syntax

virtual void BuildSubobjectMapping
(
    UObject * OtherObject,
    TMap< UObject *, UObject * > & ObjectMapping
) const

Remarks

Given OtherObject (which will be the same type as 'this'), recursively find any matching sub-objects from 'this' that also exist within OtherObject, and add the mappings to ObjectMapping.

Parameters

Parameter

Description

OtherObject

The to find matching sub-objects within.

ObjectMapping

The complete mapping between this object hierarchy and the other object hierarchy.

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