Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FObjectInstancingGraph
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 |
void AddNewInstance
&40;
class UObject &42; ObjectInstance,
class UObject &42; InArchetype
&41;
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
| Name | Description |
|---|---|
| ObjectInstance | the object that should be added as the corresopnding instance for ObjectSource |
| InArchetype | Archetype of ObjectInstance |