Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include | #include "UObject/Class.h" |
Syntax
struct FObjectInstancingGraph
Constructors
| Type | Name | Description | |
|---|---|---|---|
FObjectInstancingGraph
(
bool bDisableInstancing |
Default Constructor | ||
FObjectInstancingGraph
(
EObjectInstancingGraphOptions InOptions |
Constructor with options | ||
FObjectInstancingGraph
(
UObject* DestinationSubobjectRoot, |
Standard constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddNewInstance
(
UObject* ObjectInstance, |
Adds an object instance to the map of source objects to their instances. | |
| void | AddNewObject
(
UObject* ObjectInstance, |
Adds a partially built object instance to the map(s) of source objects to their instances. | |
| void | AddPropertyToSubobjectExclusionList
(
const FProperty* Property |
Adds a member variable property that should not instantiate subobjects | |
| void | EnableSubobjectInstancing
(
bool bEnabled |
Enables / disables component instancing. | |
| void | ForEachObjectInstance
(
Predicate Pred |
Allows looping over instances that were created during this instancing. | |
| UObject * | GetDestinationObject
(
UObject* SourceObject |
Finds the destination object instance corresponding to the specified source object. | |
| const UObject * | Returns the DestinationRoot for this instancing graph. | ||
| bool | Returns whether this instancing graph has a valid destination root. | ||
| UObject * | InstancePropertyValue
(
UObject* SourceComponent, |
Returns the component that has SourceComponent as its archetype, instancing the component as necessary. | |
| bool | IsPropertyInSubobjectExclusionList
(
const FProperty* Property |
Checks if a member variable property is in subobject instantiation exclusion list | |
| bool | Returns whether component instancing is enabled | ||
| void | RetrieveObjectInstances
(
UObject* SearchOuter, |
Retrieves a list of objects that have the specified Outer | |
| void | SetDestinationRoot
(
UObject* DestinationSubobjectRoot, |
Sets the DestinationRoot for this instancing graph. | |
| void | SetLoadingObject
(
bool bIsLoading |
Sets whether DestinationRoot is currently being loaded from disk. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| UObject * | InstancePropertyValue
(
UObject* SourceComponent, |
This overload of InstancePropertyValue has been deprecated, please call the overload that takes flags instead. |