FObjectInstancingGraph

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Syntax

struct FObjectInstancingGraph

Constructors

Name Description

Public function

FObjectInstancingGraph

(
    bool bDisableInstancing
)

Default Constructor

Public function

FObjectInstancingGraph

(
    UObject* DestinationSubobjectR...
)

Standard constructor

Functions

Name Description

Public function

void

 

AddNewInstance

(
    UObject* ObjectInstance,
    UObject* InArchetype
)

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

Public function

void

 

AddNewObject

(
    UObject* ObjectInstance,
    UObject* InArchetype
)

Adds a partially built object instance to the map(s) of source objects to their instances.

Public function

void

 

EnableSubobjectInstancing

(
    bool bEnabled
)

Enables / disables component instancing.

Public function

void

 

ForEachObjectInstance

(
    Predicate Pred
)

Allows looping over instances that were created during this instancing.

Public function

UObject *...

 

GetDestinationObject

(
    UObject* SourceObject
)

Finds the destination object instance corresponding to the specified source object.

Public function

UObject *...

 

InstancePropertyValue

(
    UObject* SourceComponent,
    UObject* CurrentValue,
    UObject* CurrentObject,
    bool bIsTransient,
    bool bCausesInstancing,
    bool bAllowSelfReference
)

Returns the component that has SourceComponent as its archetype, instancing the component as necessary.

Public function Const

bool

 

IsSubobjectInstancingEnabled()

Returns whether component instancing is enabled

Public function

void

 

RetrieveObjectInstances

(
    UObject* SearchOuter,
    TArray< class UObject* >& out...
)

Retrieves a list of objects that have the specified Outer

Public function

void

 

SetDestinationRoot

(
    UObject* DestinationSubobjectR...,
    UObject* InSourceRoot
)

Sets the DestinationRoot for this instancing graph.

Public function

void

 

SetLoadingObject

(
    bool bIsLoading
)

Sets whether DestinationRoot is currently being loaded from disk.

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