FStaticConstructObjectParameters

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

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bAssumeTemplateIsArchetype

If true, Template is guaranteed to be an archetype

Public variable

bool

 

bCopyTransientsFromClassDefaults

If true, copy transient from the class defaults instead of the pass in archetype ptr(often these are the same)

Public variable

const UClass &#...

 

Class

The class of the object to create

Public variable

UPackage *

 

ExternalPackage

Assign an external Package to the created object if non-null

Public variable

FObjectInstanci...

 

InstanceGraph

Contains the mappings of instanced objects and components to their templates

Public variable

EInternalObject...

 

InternalSetFlags

The InternalObjectFlags to assign to the new object.

Public variable

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_#.

Public variable

UObject *

 

Outer

The object to create this object within (the Outer property for the new object will be set to the value specified here).

Public variable

EObjectFlags

 

SetFlags

The ObjectFlags to assign to the new object.

Public variable

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

Name Description

Public function

FStaticConstructObjectParameters

(
    const UClass* InClass
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss