Navigation
API > API/Runtime > API/Runtime/CoreUObject
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.
| Name | FStaticConstructObjectParameters |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
Syntax
struct FStaticConstructObjectParameters
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticConstructObjectParameters
(
const UClass* InClass |
UObject/UObjectGlobals.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAssumeTemplateIsArchetype | bool | If true, Template is guaranteed to be an archetype | UObject/UObjectGlobals.h | |
| bCopyTransientsFromClassDefaults | bool | If true, copy transient from the class defaults instead of the pass in archetype ptr(often these are the same) | UObject/UObjectGlobals.h | |
| Class | const UClass * | The class of the object to create | UObject/UObjectGlobals.h | |
| ExternalPackage | UPackage * | Assign an external Package to the created object if non-null | UObject/UObjectGlobals.h | |
| FObjectInitializer | friend | UObject/UObjectGlobals.h | ||
| InstanceGraph | FObjectInstancingGraph * | Contains the mappings of instanced objects and components to their templates | UObject/UObjectGlobals.h | |
| InternalSetFlags | EInternalObjectFlags | The InternalObjectFlags to assign to the new object. | UObject/UObjectGlobals.h | |
| Name | FName | 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/UObjectGlobals.h | |
| Outer | UObject * | The object to create this object within (the Outer property for the new object will be set to the value specified here). | UObject/UObjectGlobals.h | |
| PropertyInitCallback | TFunction< void()> | Callback for custom code to initialize properties before PostInitProperties runs | UObject/UObjectGlobals.h | |
| SerialNumber | int32 | Existing serial number for the object | UObject/UObjectGlobals.h | |
| SetFlags | EObjectFlags | The ObjectFlags to assign to the new object. | UObject/UObjectGlobals.h | |
| Template | UObject * | 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. | UObject/UObjectGlobals.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SubobjectOverrides | FObjectInitializer::FOverrides * | UObject/UObjectGlobals.h |