Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FObjectInstancingGraph
Description
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.
| Name | AddNewInstance |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/CoreNative.cpp |
void AddNewInstance
(
class UObject * ObjectInstance,
class UObject * InArchetype
)
Parameters
| Name | Remarks |
|---|---|
| ObjectInstance | the object that should be added as the corresopnding instance for ObjectSource |
| InArchetype | Archetype of ObjectInstance |