Language:
Discover
By Skill Level
By Category

UWorld::SpawnActor

Choose your OS:

Syntax

template<class T>
T * SpawnActor
(
    FVector const & Location,
    FRotator const & Rotation,
    const FActorSpawnParameters & SpawnParameters
)

Remarks

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

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/World.h