UActorFactoryNiagara

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ActorFactoryNiagara.h

Include

#include "ActorFactoryNiagara.h"

Syntax

UCLASS(MinimalAPI, Config=Editor, CollapseCategories, HideCategories=Object)
class UActorFactoryNiagara : public UActorFactory

Constructors

Name Description

Public function

UActorFactoryNiagara

(
    const FObjectInitializer& ObjectIn...
)

UActorFactoryNiagara ///.

Overridden from UActorFactory

Name Description

Public function Virtual

bool

 

CanCreateActorFrom

(
    const FAssetData& AssetData,
    FText& OutErrorMsg
)

Public function Virtual

UObject *...

 

GetAssetFromActorInstance

(
    AActor* ActorInstance
)

Given an instance of an actor, find the wrapped asset object which can be used to create a valid FAssetData.

Public function Virtual

void

 

PostCreateBlueprint

(
    UObject* Asset,
    AActor* CDO
)

Override this in derived factory classes if needed.

Public function Virtual

void

 

PostSpawnActor

(
    UObject* Asset,
    AActor* NewActor
)

Subclasses may implement this to modify the actor after it has been spawned IMPORTANT: If you override this, you should usually also override PostCreateBlueprint()!