ParseObject

Parse a reference to an object from a text representation

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Source

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

Syntax

bool ParseObject
(
    const TCHAR * Stream,
    const TCHAR * Match,
    UClass * Class,
    UObject *& DestRes,
    UObject * InParent,
    bool * bInvalidObject
)

Remarks

Parse a reference to an object from a text representation

Returns

True if the object parsed successfully, even if object was not found

Parameters

Parameter

Description

Stream

String containing text to parse

Match

Tag to search for object representation within string

Class

The class of the object to be loaded.

DestRes

Returned object pointer

InParent

Outer to search

bInvalidObject

[opt] Optional output. If true, Tag was matched but the specified object wasn't found.

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