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

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

ULevel *

 

OverrideLevel

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

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback