SpawnActor函数中FActorSpawnParameters参数的内部变量说明
官方文档:
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Engine/FActorSpawnParameters/index.html
uint16: 1 | bAllowDuringConstructionScript |
Determines whether or not the actor may be spawned when running a construction script. |
|
uint16: 1 | bDeferConstruction |
Determines whether the construction script will be run. |
|
uint16: 1 | bNoCollisionFail |
Determines whether a collision test will be performed when spawning the Actor. |
|
uint16: 1 | bNoFail |
Determines whether spawning will not fail if certain conditions are not met. |
|
uint16: 1 | bRemoteOwned |
Is the actor remotely owned. |
|
APawn * | Instigator |
The APawn that is responsible for damage done by the spawned Actor. |
|
Name |
A name to assign as the Name of the Actor being spawned. |
||
EObjectFlags | ObjectFlags |
Flags used to describe the spawned actor/object instance. |
|
ULevel * | OverrideLevel |
The ULevel to spawn the Actor in, i.e. the Outer of the Actor. |
|
AActor * | Owner |
The Actor that spawned this Actor. (Can be left as NULL). |
|
ESpawnActorColl... | SpawnCollisionHandlingOverride |
Method for resolving collisions at the spawn point. |
|
AActor * | Template |
An Actor to use as a template when spawning the new Actor. |