Language:
Discover
By Skill Level
By Category

ImportObjectProperties

Choose your OS:

Syntax

const TCHAR * ImportObjectProperties
(
    uint8 * DestData,
    const TCHAR * SourceText,
    UStruct * ObjectStruct,
    UObject * SubobjectRoot,
    UObject * SubobjectOuter,
    FFeedbackContext * Warn,
    int32 Depth,
    int32 LineNumber,
    FObjectInstancingGraph * InstanceGraph,
    const TMap < AActor *, AActor * > * ActorRemapper
)

Remarks

Parse and import text as property values for the object specified.

NULL if the default values couldn't be imported Parse and import text as property values for the object specified.

NULL if the default values couldn't be imported

Returns

NULL if the default values couldn't be imported

Parameters

Parameter

Description

DestData

the location to import the property values to

SourceText

pointer to a buffer containing the values that should be parsed and imported

ObjectStruct

the struct for the data we're importing

SubobjectRoot

the original object that ImportObjectProperties was called for. if SubobjectOuter is a subobject, corresponds to the first object in SubobjectOuter's Outer chain that is not a subobject itself. if SubobjectOuter is not a subobject, should normally be the same value as SubobjectOuter

SubobjectOuter

the object corresponding to DestData; this is the object that will used as the outer when creating subobjects from definitions contained in SourceText

Warn

output device to use for log messages

Depth

current nesting level

LineNumber

used when importing defaults during script compilation for tracking which line the defaultproperties block begins on

InstanceGraph

contains the mappings of instanced objects and components to their templates; used when recursively calling ImportObjectProperties; generally not necessary to specify a value when calling this function from other code

ActorRemapper

used when duplicating actors to remap references from a source actor to the duplicated actor

DestData

the location to import the property values to

SourceText

pointer to a buffer containing the values that should be parsed and imported

ObjectStruct

the struct for the data we're importing

SubobjectRoot

the original object that ImportObjectProperties was called for. if SubobjectOuter is a subobject, corresponds to the first object in SubobjectOuter's Outer chain that is not a subobject itself. if SubobjectOuter is not a subobject, should normally be the same value as SubobjectOuter

SubobjectOuter

the object corresponding to DestData; this is the object that will used as the outer when creating subobjects from definitions contained in SourceText

Warn

ouptut device to use for log messages

Depth

current nesting level

LineNumber

used when importing defaults during script compilation for tracking which line we're currently for the purposes of printing compile errors

InstanceGraph

contains the mappings of instanced objects and components to their templates; used when recursively calling ImportObjectProperties; generally not necessary to specify a value when calling this function from other code

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/Editor.h

Source

Editor/UnrealEd/Private/EditorObject.cpp