FObjectInstancingGraph::AddNewInstance

Adds an object instance to the map of source objects to their instances.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Source

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

Syntax

void AddNewInstance
(
    class UObject * ObjectInstance,
    class UObject * InArchetype
)

Remarks

Adds an object instance to the map of source objects to their instances. If there is already a mapping for this object, it will be replaced and the value corresponding to ObjectInstance's archetype will now point to ObjectInstance.

Parameters

Parameter

Description

ObjectInstance

the object that should be added as the corresopnding instance for ObjectSource

InArchetype

Archetype of ObjectInstance

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