Karma Engine
Loading...
Searching...
No Matches
Karma::FObjectInitializer Class Reference

#include <UObjectGlobals.h>

Public Member Functions

 FObjectInitializer ()
 
 FObjectInitializer (UObject *InObj, UObject *InObjectArchetype, bool bInCopyTransientsFromClassDefaults, bool bInShouldInitializeProps, struct FObjectInstancingGraph *InInstanceGraph=nullptr)
 
 ~FObjectInitializer ()
 
FORCEINLINE UObjectGetObj () const
 

Friends

class UObject
 
template<class T >
void InternalConstructor (const class FObjectInitializer &X)
 

Detailed Description

Internal class to finalize UObject creation (initialize properties) after the real C++ constructor is called

Constructor & Destructor Documentation

◆ FObjectInitializer() [1/2]

Karma::FObjectInitializer::FObjectInitializer ( )

Default Constructor, used when you are using the C++ "new" syntax. UObject::UObject will set the object pointer

◆ FObjectInitializer() [2/2]

Karma::FObjectInitializer::FObjectInitializer ( UObject * InObj,
UObject * InObjectArchetype,
bool bInCopyTransientsFromClassDefaults,
bool bInShouldInitializeProps,
struct FObjectInstancingGraph * InInstanceGraph = nullptr )

Constructor

Parameters
InObjobject to initialize, from static allocate object, after construction
InObjectArchetypeobject to initialize properties from
bInCopyTransientsFromClassDefaults- if true, copy transient from the class defaults instead of the pass in archetype ptr (often these are the same)
bInShouldInitializePropsfalse is a special case for changing base classes in UCCMake
InInstanceGraphpassed instance graph

◆ ~FObjectInitializer()

Karma::FObjectInitializer::~FObjectInitializer ( )

Destructor for internal class to finalize UObject creation (initialize properties) after the real C++ constructor is called.

Member Function Documentation

◆ GetObj()

FORCEINLINE UObject * Karma::FObjectInitializer::GetObj ( ) const
inline

Return the object that is being constructed


The documentation for this class was generated from the following files: