FLinkerLoad::Create

Function to create the instance of, or verify the presence of, an object as found in this Linker.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/LinkerLoad.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp

Syntax

UObject * Create
(
    UClass * ObjectClass,
    FName ObjectName,
    UObject * Outer,
    uint32 InLoadFlags,
    bool Checked
)

Remarks

Function to create the instance of, or verify the presence of, an object as found in this Linker.

Function to create the instance of, or verify the presence of, an object as found in this Linker.

Returns

The created object, or (UObject*)-1 if this is just verifying

Parameters

Parameter

Description

ObjectClass

The class of the object

ObjectName

The name of the object

Outer

Optional outer that this object must be in (for finding objects in a specific group when there are multiple groups with the same name)

LoadFlags

Flags used to determine if the object is being verified or should be created

Checked

Whether or not a failure will throw an error

ObjectClass

The class of the object

ObjectName

The name of the object

Outer

Find the object inside this outer (and only directly inside this outer, as we require fully qualified names)

LoadFlags

Flags used to determine if the object is being verified or should be created

Checked

Whether or not a failure will throw an error

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