Navigation
API > API/Editor > API/Editor/UnrealEd
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TCHAR * ImportObjectProperties
(
FImportObjectParams& InParams |
Parse and import text as property values for the object specified. | Editor.h | |
const TCHAR * ImportObjectProperties
(
uint8* DestData, |
Parse and import text as property values for the object specified. | Editor.h |
ImportObjectProperties(FImportObjectParams &)
Description
Parse and import text as property values for the object specified.
| Name | ImportObjectProperties |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Editor.h |
| Include Path | #include "Editor.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorObject.cpp |
const TCHAR * ImportObjectProperties
(
FImportObjectParams & InParams
)
NULL if the default values couldn't be imported
Parameters
| Name | Remarks |
|---|---|
| InParams | Parameters for object import; see declaration of FImportObjectParams. |
ImportObjectProperties(uint8 , const TCHAR , UStruct , UObject , UObject , FFeedbackContext , int32, int32, FObjectInstancingGraph , TMap< FSoftObjectPath, UObject > *)
Description
Parse and import text as property values for the object specified.
Parse and import text as property values for the object specified.
| Name | ImportObjectProperties |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Editor.h |
| Include Path | #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,
TMap < FSoftObjectPath , UObject * > * ObjectRemapper
)
NULL if the default values couldn't be imported
Parameters
| Name | Remarks |
|---|---|
| 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 |