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

UObject *...

 

GetDestinationObject

(
    UObject* SourceObject
)

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

Public function Const

const TMap< ...

 

GetReplaceMap()

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback