FDatasmithImporter::FinalizeActor

Migrates an actor from the import world to the final world.

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/DatasmithImporter.h

Include

#include "DatasmithImporter.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/DatasmithImporter.cpp

Syntax

static AActor * FinalizeActor
(
    FDatasmithImportContext & ImportContext,
    AActor & SourceActor,
    AActor * ExistingActor,
    TMap< UObject *, UObject * > & ReferencesToRemap,
    TArray< uint8 > & ReusableBuffer
)

Remarks

Migrates an actor from the import world to the final world. Generating templates based on their current values.

Returns

The resulting actor

Parameters

Parameter

Description

ImportContext

The context used by the import process.

SourceActor

The actor to finalize.

ExistingActor

An optional existing actor on which we will finalize over.

ReferencesToRemap

A map of migrated objects. If SourceActor refers to any key objects, those references will be replaced by the corresponding map value.

ReusableBuffer

An array that will be used for the migration of the data from the temp actor to the final actor. The array doesn't have to be empty the function will clean it before using it and it will try to keep it's existing allocation.

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