SpawnActor

Overload list

Windows
MacOS
Linux
Name Description

Public function

T *

 

SpawnActor

(
    const FActorSpawnParameters& Spawn...
)

Templated version of SpawnActor that allows you to specify a class type via the template type

Public function

T *

 

SpawnActor

(
    UClass* Class,
    const FActorSpawnParameters& Spawn...
)

Templated version of SpawnActor that allows you to specify the class type via parameter while the return type is a parent class of that type

Public function

AActor *

 

SpawnActor

(
    UClass* Class,
    FTransform const* Transform,
    const FActorSpawnParameters& Spawn...
)

Spawn Actors with given transform and SpawnParameters

Public function

T *

 

SpawnActor

(
    FVector const& Location,
    FRotator const& Rotation,
    const FActorSpawnParameters& Spawn...
)

Templated version of SpawnActor that allows you to specify location and rotation in addition to class type via the template type

Public function

T *

 

SpawnActor

(
    UClass* Class,
    FTransform const& Transform,
    const FActorSpawnParameters& Spawn...
)

Templated version of SpawnActor that allows you to specify whole Transform class type via parameter while the return type is a parent class of that type

Public function

AActor *

 

SpawnActor

(
    UClass* InClass,
    FVector const* Location,
    FRotator const* Rotation,
    const FActorSpawnParameters& Spawn...
)

Spawn Actors with given transform and SpawnParameters

Public function

T *

 

SpawnActor

(
    UClass* Class,
    FVector const& Location,
    FRotator const& Rotation,
    const FActorSpawnParameters& Spawn...
)

Templated version of SpawnActor that allows you to specify the rotation and location in addition class type via parameter while the return type is a parent class of that type

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