UScriptStruct::ImportText

Sets value of script struct based on imported string

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Source

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

Syntax

const TCHAR * ImportText
(
    const TCHAR * Buffer,
    void * Value,
    UObject * OwnerObject,
    int32 PortFlags,
    FOutputDevice * ErrorText,
    const FString & StructName,
    bool bAllowNativeOverride
)

Remarks

Sets value of script struct based on imported string

Returns

Buffer after parsing has succeeded, or NULL on failure

Parameters

Parameter

Description

Buffer

String to read text data out of

Value

Struct that will be modified

OwnerObject

UObject that contains this struct

PortFlags

EPropertyPortFlags controlling import behavior

ErrorText

What to print import errors to

StructName

Name of struct, used in error display

bAllowNativeOverride

If true, will try to run native version of export text on the struct

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