engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FScriptIntegrationObjectHelper类 参考

Helper class for script integrations to access some UObject innards. 更多...

#include <UObjectGlobals.h>

静态 Public 成员函数

static void InitProperties (const FObjectInitializer &ObjectInitializer, UObject *Obj, UClass *DefaultsClass, UObject *DefaultData)
 Binary initialize object properties to zero or defaults. 更多...
 
static bool InitSubobjectProperties (const FObjectInitializer &ObjectInitializer)
 Calls InitProperties for any default subobjects created through this ObjectInitializer. 更多...
 
static void InstanceSubobjects (const FObjectInitializer &ObjectInitializer, UClass *Class, bool bNeedInstancing, bool bNeedSubobjectInstancing)
 Create copies of the object's components from their templates. 更多...
 
static void PostConstructInitObject (FObjectInitializer &ObjectInitializer)
 Finalizes a constructed UObject by initializing properties, instancing & initializing sub-objects, etc. 更多...
 

详细描述

Helper class for script integrations to access some UObject innards.

Needed for script-generated UObject classes

成员函数说明

◆ InitProperties()

static void FScriptIntegrationObjectHelper::InitProperties ( const FObjectInitializer &  ObjectInitializer,
UObject *  Obj,
UClass *  DefaultsClass,
UObject *  DefaultData 
)
inlinestatic

Binary initialize object properties to zero or defaults.

参数
ObjectInitializerFObjectInitializer helper
Objobject to initialize data for
DefaultsClassthe class to use for initializing the data
DefaultDatathe 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.

参数
bAllowInstancingIndicates 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.

参数
ObjectInitializerFObjectInitializer helper
ClassClass of the object we are initializing
bNeedInstancingIndicates whether the object's components need to be instanced
bNeedSubobjectInstancingIndicates 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.

参数
ObjectInitializerThe initializer to run PostConstructInit() on.

该类的文档由以下文件生成: