Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
Syntax
struct FStaticConstructObjectParameters
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAssumeTemplateIsArchetype | If true, Template is guaranteed to be an archetype | |
| bool | bCopyTransientsFromClassDefaults | 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 | Assign an external Package to the created object if non-null | |
| friend | FObjectInitializer | ||
| FObjectInstancingGraph * | InstanceGraph | Contains the mappings of instanced objects and components to their templates | |
| EInternalObjectFlags | InternalSetFlags | 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). | |
| TFunction< void()> | PropertyInitCallback | Callback for custom code to initialize properties before PostInitProperties runs | |
| EObjectFlags | SetFlags | The ObjectFlags to assign to the new object. | |
| UObject * | Template | 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. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStaticConstructObjectParameters
(
const UClass* InClass |