Navigation
API > API/Plugins > API/Plugins/AvalancheEditorCore
Data struct used by the editor and its extensions to process a pasted actor
| Name | FAvaEditorPastedActor |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheEditorCore/Public/AvaEditorPastedActor.h |
| Include Path | #include "AvaEditorPastedActor.h" |
Syntax
class FAvaEditorPastedActor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAvaEditorPastedActor
(
AActor* InActor, |
AvaEditorPastedActor.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Actor | TWeakObjectPtr< AActor > | Pasted Actor | AvaEditorPastedActor.h | |
| TemplateActor | TSoftObjectPtr< AActor > | Template Actor used for the Paste | AvaEditorPastedActor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AActor * GetActor() |
AvaEditorPastedActor.h | ||
const TSoftObjectPtr< AActor > & GetTemplateActor() |
AvaEditorPastedActor.h | ||
bool IsDuplicate() |
AvaEditorPastedActor.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TMap< AActor *, AActor * > BuildDuplicatedActorMap
(
TConstArrayView< FAvaEditorPastedActor > InPastedActors |
Helper to build a map of the template actor to its duplicated actor | AvaEditorPastedActor.h | |
static TMap< FName, AActor * > BuildPastedActorMap
(
TConstArrayView< FAvaEditorPastedActor > InPastedActors, |
Helper to build a map of the original actor name to its created actor on paste | AvaEditorPastedActor.h |