Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ActorFactories
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorFactory
- UActorFactoryEmitter
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/ActorFactories/ActorFactoryEmitter.h |
| Include | #include "ActorFactories/ActorFactoryEmitter.h" |
Syntax
class UActorFactoryEmitter : public UActorFactory
Constructors
| Type | Name | Description | |
|---|---|---|---|
UActorFactoryEmitter
(
const FObjectInitializer& ObjectInitializer |
Overridden from UActorFactory
| Type | Name | Description | |
|---|---|---|---|
| bool | CanCreateActorFrom
(
const FAssetData& AssetData, |
||
| UObject * | GetAssetFromActorInstance
(
AActor* ActorInstance |
Given an instance of an actor, find the wrapped asset object which can be used to create a valid FAssetData. | |
| void | PostCreateBlueprint
(
UObject* Asset, |
Override this in derived factory classes if needed. | |
| void | PostSpawnActor
(
UObject* Asset, |
Subclasses may implement this to modify the actor after it has been spawned IMPORTANT: If you override this, you should usually also override PostCreateBlueprint()! |