Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ImportObjectProperties
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Editor.h |
| Include | #include "Editor.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorObject.cpp |
const TCHAR * ImportObjectProperties
(
uint8 * DestData,
const TCHAR * SourceText,
UStruct * ObjectStruct,
UObject * SubobjectRoot,
UObject * SubobjectOuter,
FFeedbackContext * Warn,
int32 Depth,
int32 LineNumber,
FObjectInstancingGraph * InstanceGraph,
const TMap < FSoftObjectPath , UObject * > * ObjectRemapper
)
Remarks
Parse and import text as property values for the object specified.
Parse and import text as property values for the object specified. NULL if the default values couldn't be imported
Parameters
| Name | 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 |
| ObjectRemapper | used when duplicating objects, typically actors, to remap references from a source object to the duplicated object |
| 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 |