engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
FStaticConstructObjectParameters结构体 参考

This struct is used for passing parameter values to the StaticConstructObject_Internal() method. 更多...

#include <UObjectGlobals.h>

Public 属性

bool bAssumeTemplateIsArchetype = false
 If true, Template is guaranteed to be an archetype
 
bool bCopyTransientsFromClassDefaults = false
 If true, copy transient from the class defaults instead of the pass in archetype ptr(often these are the same)
 
const UClass * Class
 The class of the object to create
 
UPackage * ExternalPackage = nullptr
 Assign an external Package to the created object if non-null
 
FObjectInstancingGraph * InstanceGraph = nullptr
 Contains the mappings of instanced objects and components to their templates
 
EInternalObjectFlags InternalSetFlags = EInternalObjectFlags::None
 The InternalObjectFlags to assign to the new object. 更多...
 
FName Name
 The name to give the new object.If no value(NAME_None) is specified, the object will be given a unique name in the form of ClassName_#.
 
UObject * Outer
 The object to create this object within (the Outer property for the new object will be set to the value specified here).
 
EObjectFlags SetFlags = RF_NoFlags
 The ObjectFlags to assign to the new object. 更多...
 
UObject * Template = nullptr
 If specified, the property values from this object will be copied to the new object, and the new object's ObjectArchetype value will be set to this object. 更多...
 

详细描述

This struct is used for passing parameter values to the StaticConstructObject_Internal() method.

Only the constructor parameters are required to be valid - all other members are optional.

类成员变量说明

◆ InternalSetFlags

EInternalObjectFlags FStaticConstructObjectParameters::InternalSetFlags = EInternalObjectFlags::None

The InternalObjectFlags to assign to the new object.

some flags can affect the behavior of constructing the object.

◆ SetFlags

EObjectFlags FStaticConstructObjectParameters::SetFlags = RF_NoFlags

The ObjectFlags to assign to the new object.

some flags can affect the behavior of constructing the object.

◆ Template

UObject* FStaticConstructObjectParameters::Template = nullptr

If specified, the property values from this object will be copied to the new object, and the new object's ObjectArchetype value will be set to this object.

If nullptr, the class default object is used instead.


该结构体的文档由以下文件生成: