Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/ActorFactories/ActorFactory.h |
Include |
#include "ActorFactories/ActorFactory.h" |
class UActorFactory : public UObject
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bShowInEditorQuickMenu |
Whether to appear in the editor add actor quick menu |
|
uint32: 1 |
bUseSurfaceOrientation |
|
|
DisplayName |
Name used as basis for 'New Actor' menu. |
|
|
MenuPriority |
Indicates how far up the menu item should be. The higher the number, the higher up the list. |
|
|
TSubclassOf< cl... |
NewActorClass |
AActor subclass this ActorFactory creates. |
|
NewActorClassName |
Name of actor subclass this actorfactory creates - dynamically loaded. Overrides NewActorClass. |
|
|
SpawnPositionOffset |
Translation applied to the spawn position. |
Name | Description | |
---|---|---|
|
UActorFactory ( |
Name | Description | ||
---|---|---|---|
|
AlignObjectToSurfaceNormal |
Return a quaternion which aligns this actor type to the specified surface normal |
|
|
CanCreateActorFrom ( |
||
|
AActor * |
CreateActor ( |
|
|
UBlueprint &... |
CreateBlueprint |
Called to create a blueprint class that can be used to spawn an actor from this factory |
|
UObject *... |
GetAssetFromActorInstance ( |
Given an instance of an actor pertaining to this factory, find the asset that should be used to create a new actor |
|
AActor * |
GetDefaultActor ( |
Initialize NewActorClass if necessary, and return default actor for that class. |
|
UClass * |
GetDefaultActorClass ( |
Initialize NewActorClass if necessary, and return that class. |
|
GetDisplayName() |
Name to put on context menu. |
|
|
PostCreateBlueprint |
Override this in derived factory classes if needed. |
|
|
PostSpawnActor |
Subclasses may implement this to modify the actor after it has been spawned IMPORTANT: If you override this, you should usually also override PostCreateBlueprint()! |
|
|
PreSpawnActor ( |
||
|
AActor * |
SpawnActor ( |
|
|
ULevel * |
ValidateSpawnActorLevel ( |
Validates the input params for SpawnActor and returns the appropriate level to use depending on whether InLevel and/or InSpawnParams.OverrideLevel is passed : |
Name | Description | ||
---|---|---|---|
|
AActor * |
CreateActor ( |
This function has been deprecated in favor of the other version that takes a FActorSpawnParameters in parameter |
|
AActor * |
SpawnActor ( |
This function has been deprecated in favor of the other version that takes a FActorSpawnParameters in parameter |