![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectGlobals.h>
Static Public Member Functions | |
| static void | InitProperties (const FObjectInitializer &ObjectInitializer, UObject *Obj, UClass *DefaultsClass, UObject *DefaultData) |
| static bool | InitSubobjectProperties (const FObjectInitializer &ObjectInitializer) |
| static void | InstanceSubobjects (const FObjectInitializer &ObjectInitializer, UClass *Class, bool bNeedInstancing, bool bNeedSubobjectInstancing) |
| static void | PostConstructInitObject (FObjectInitializer &ObjectInitializer) |
Helper class for script integrations to access some UObject innards. Needed for script-generated UObject classes
|
inlinestatic |
Binary initialize object properties to zero or defaults.
| ObjectInitializer | FObjectInitializer helper |
| Obj | object to initialize data for |
| DefaultsClass | the class to use for initializing the data |
| DefaultData | the buffer containing the source data for the initialization |
|
inlinestatic |
Calls InitProperties for any default subobjects created through this ObjectInitializer.
| bAllowInstancing | Indicates whether the object's components may be copied from their templates. |
|
inlinestatic |
Create copies of the object's components from their templates.
| ObjectInitializer | FObjectInitializer helper |
| Class | Class of the object we are initializing |
| bNeedInstancing | Indicates whether the object's components need to be instanced |
| bNeedSubobjectInstancing | Indicates whether subobjects of the object's components need to be instanced |
|
inlinestatic |
Finalizes a constructed UObject by initializing properties, instancing & initializing sub-objects, etc.
| ObjectInitializer | The initializer to run PostConstructInit() on. |