UDynamicClass

Dynamic class (can be constructed after initial startup)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Syntax

class UDynamicClass : public UClass

Remarks

Dynamic class (can be constructed after initial startup)

Variables

Name Description

Public variable

UObject *

 

AnimClassImplementation

IAnimClassInterface (UAnimClassData) or null

Public variable

TArray< TPair< ...

 

ComponentClassOverrides

Array of blueprint overrides of component classes in parent classes

Public variable

TArray< UObject...

 

ComponentTemplates

Public variable

TArray< UObject...

 

DynamicBindingObjects

Specialized sub-object containers

Public variable

DynamicClassIni...

 

DynamicClassInitializer

Public variable

TArray< UObject...

 

MiscConvertedSubobjects

Misc objects owned by the class.

Public variable

TArray< UField ...

 

ReferencedConvertedFields

Additional converted fields, that are used by the class.

Public variable

TArray< UObject...

 

Timelines

Public variable

TArray< UObject...

 

UsedAssets

Outer assets used by the class

Constructors

Name Description

Public function

UDynamicClass

(
    FVTableHelper& Helper
)

DO NOT USE. This constructor is for internal usage only for hot-reload purposes.

Public function

UDynamicClass

(
    const FObjectInitializer& ObjectIn...
)

Internal constructor.

Public function

UDynamicClass

(
    const FObjectInitializer& ObjectIn...,
    UClass* InSuperClass
)

Create a new UDynamicClass given its superclass.

Public function

UDynamicClass

(
    EStaticConstructor,
    FName InName,
    uint32 InSize,
    uint32 InAlignment,
    EClassFlags InClassFlags,
    EClassCastFlags InClassCastFlags,
    const TCHAR* InClassConfigName,
    EObjectFlags InFlags,
    ClassConstructorType InClassConstru...,
    ClassVTableHelperCtorCallerType InC...,
    ClassAddReferencedObjectsType InCla...,
    DynamicClassInitializerType InDynam...
)

Called when dynamically linked.

Functions

Name Description

Public function Static

void

 

__DefaultConstructor

(
    const FObjectInitializer& X
)

Public function Static

UObject *...

 

__VTableCtorCaller

(
    FVTableHelper& Helper
)

Public function Static

void

 

AddReferencedObjects

(
    UObject* InThis,
    FReferenceCollector& Collector
)

Public function Const

FStructPrope...

 

FindStructPropertyChecked

(
    const TCHAR* PropertyName
)

Find a struct property, called from generated code

Public function Const

UPackage ...

 

GetOuterUPackage()

Public function Static

const FStrin...

 

GetTempPackagePrefix()

Prefix for the temporary package where the dynamic classes are stored when being generated

Public function Static

UClass *

 

StaticClass()

Returns a UClass object representing this class at runtime

Public function Static

EClassCastFl...

 

StaticClassCastFlags()

Returns the static cast flags for this class

Public function Static

const TCHAR ...

 

StaticPackage()

Returns the package this class belongs in

Public function Static

void

 

StaticRegisterNativesUDynamicClass()

Overridden from UClass

Name Description

Public function Virtual

UObject *...

 

CreateDefaultObject()

Get the default object from the class, creating it if missing, if requested or under a few other circumstances

Public function Virtual Const

UObject *...

 

FindArchetype

(
    const UClass* ArchetypeClass,
    const FName ArchetypeName
)

Finds the object that is used as the parent object when serializing properties, overridden for blueprints

Public function Virtual

void

 

PurgeClass

(
    bool bRecompilingOnLoad
)

Purges out the properties of this class in preparation for it to be regenerated

Public function Virtual Const

void

 

SetupObjectInitializer

(
    FObjectInitializer& ObjectInitiali...
)

Allows class to provide data to the object initializer that can affect how native class subobjects are created.

Operators

Name Description

Public function

void *

 

operator new

(
    const size_t InSize,
    EInternal InInternalOnly,
    UObject* InOuter,
    FName InName,
    EObjectFlags InSetFlags
)

For internal use only; use StaticConstructObject() to create new objects.

Public function

void *

 

operator new

(
    const size_t InSize,
    EInternal* InMem
)

For internal use only; use StaticConstructObject() to create new objects.

Typedefs

Name

Description

DynamicClassInitializerType

Super

Typedef for the base class (UClass)

ThisClass

Typedef for UDynamicClass.

WithinClass

The required type of this object's outer (class UPackage)

Constants

Name

Description

StaticClassFlags

Bitwise union of EClassFlags pertaining to this class.

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