Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > FObjectInstancingGraph > InstancePropertyValue
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 |
UObject &42; InstancePropertyValue
&40;
class UObject &42; SourceComponent,
class UObject &42; CurrentValue,
class UObject &42; CurrentObject,
EInstancePropertyValueFlags Flags
&41;
Remarks
Returns the component that has SourceComponent as its archetype, instancing the component as necessary. As with GetInstancedSubobject, above, but also deals with archetype creation and a few other special cases
Parameters
Name | Description |
---|---|
SourceComponent | the component to find the corresponding component instance for |
CurrentValue | the component currently assigned as the value for the component property being instanced. Used when updating archetypes to ensure that the new instanced component replaces the existing component instance in memory. |
CurrentObject | the object that owns the component property currently being instanced; this is NOT necessarily the object that should be the Outer for the new component. |
Flags | reinstancing flags - see EInstancePropertyValueFlags |