Helper class for script integrations to access some UObject innards.
更多...
#include <UObjectGlobals.h>
Helper class for script integrations to access some UObject innards.
Needed for script-generated UObject classes
◆ InitProperties()
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 |
◆ InitSubobjectProperties()
| static bool FScriptIntegrationObjectHelper::InitSubobjectProperties |
( |
const FObjectInitializer & |
ObjectInitializer | ) |
|
|
inlinestatic |
Calls InitProperties for any default subobjects created through this ObjectInitializer.
- 参数
-
| bAllowInstancing | Indicates whether the object's components may be copied from their templates. |
- 返回
- true if there are any subobjects which require instancing.
◆ InstanceSubobjects()
| static void FScriptIntegrationObjectHelper::InstanceSubobjects |
( |
const FObjectInitializer & |
ObjectInitializer, |
|
|
UClass * |
Class, |
|
|
bool |
bNeedInstancing, |
|
|
bool |
bNeedSubobjectInstancing |
|
) |
| |
|
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 |
◆ PostConstructInitObject()
| static void FScriptIntegrationObjectHelper::PostConstructInitObject |
( |
FObjectInitializer & |
ObjectInitializer | ) |
|
|
inlinestatic |
Finalizes a constructed UObject by initializing properties, instancing & initializing sub-objects, etc.
- 参数
-
| ObjectInitializer | The initializer to run PostConstructInit() on. |
该类的文档由以下文件生成: