FActorSpawnParameters

Struct of optional parameters passed to SpawnActor function(s).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Syntax

struct FActorSpawnParameters

Remarks

Struct of optional parameters passed to SpawnActor function(s).

Variables

Name Description

Public variable

uint8: 1

 

bAllowDuringConstructionScript

Determines whether or not the actor may be spawned when running a construction script.

Public variable

uint16: 1

 

bCreateActorPackage

Determines whether to create a new package for the actor or not.

Public variable

uint8: 1

 

bDeferConstruction

Determines whether the construction script will be run.

Public variable

uint8: 1

 

bHideFromSceneOutliner

Determines whether or not the actor should be hidden from the Scene Outliner

Public variable

uint8: 1

 

bNoFail

Determines whether spawning will not fail if certain conditions are not met.

Public variable

uint8: 1

 

bTemporaryEditorActor

Determines whether the begin play cycle will run on the spawned actor when in the editor.

Public variable

APawn *

 

Instigator

The APawn that is responsible for damage done by the spawned Actor.

Public variable

FName

 

Name

A name to assign as the Name of the Actor being spawned.

Public variable

ESpawnActorName...

 

NameMode

In which way should SpawnActor should treat the supplied Name if not none.

Public variable

EObjectFlags

 

ObjectFlags

Flags used to describe the spawned actor/object instance.

Public variable

FGuid

 

OverrideActorGuid

The Guid to set to this actor. Should only be set when reinstancing blueprint actors.

Public variable

ULevel *

 

OverrideLevel

The ULevel to spawn the Actor in, i.e. the Outer of the Actor.

Public variable

UPackage *

 

OverridePackage

The UPackage to set the Actor in.

Public variable

UChildActorComp...

 

OverrideParentComponent

The parent component to set the Actor in.

Public variable

AActor *

 

Owner

The Actor that spawned this Actor. (Can be left as NULL).

Public variable

ESpawnActorColl...

 

SpawnCollisionHandlingOverride

Method for resolving collisions at the spawn point.

Public variable

AActor *

 

Template

An Actor to use as a template when spawning the new Actor.

Constructors

Name Description

Public function

FActorSpawnParameters()

Functions

Name Description

Public function Const

bool

 

IsRemoteOwned()

Enums

Name

Description

Public enum

ESpawnActorNameMode

Modes that SpawnActor can use the supplied name when it is not None.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss