FSMPreviewObjectSpawner¶
Module: SMPreviewEditor
#include <SMPreviewObject.h>
Description¶
Contains spawn data and an exported template.
Public Functions¶
| Name | |
|---|---|
| FSMPreviewObjectSpawner() | |
| ~FSMPreviewObjectSpawner() | |
| void | SaveActorDefaults(UObject * Outer, bool bModify =true) |
| void | LoadActorDefaults(UObject * Outer) |
| bool | operator==(const FSMPreviewObjectSpawner & OtherSpawner) const |
Public Attributes¶
| Name | |
|---|---|
| TSubclassOf< UObject > | Class |
| FVector | Location |
| FRotator | Rotation |
| FVector | Scale |
| bool | bIsContext |
| FString | ObjectLabel |
| TObjectPtr< AActor > | SpawnedActor |
| TObjectPtr< AActor > | ActorTemplate |
Public Functions Documentation¶
function FSMPreviewObjectSpawner¶
function ~FSMPreviewObjectSpawner¶
function SaveActorDefaults¶
Serialize the SpawnedActor's properties.
function LoadActorDefaults¶
Deserialize properties to the ActorTemplate.
function operator==¶
Public Attributes Documentation¶
variable Class¶
variable Location¶
variable Rotation¶
variable Scale¶
variable bIsContext¶
variable ObjectLabel¶
Set by world outliner.
variable SpawnedActor¶
A reference to an actor spawned from the ActorTemplate.
variable ActorTemplate¶
Loaded from serialized actor properties, used for instantiating the SpawnedActor.
Private Attributes Documentation¶
variable SavedActorProperties¶
Properties for the actor template, serialized separately to prevent circular dependency load issues.