[UE4]SpawnActor()中的参数FActorSpawnParameters

SpawnActor函数中FActorSpawnParameters参数的内部变量说明

官方文档:

https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Engine/FActorSpawnParameters/index.html

    Name Description

Public variable

uint16: 1 

bAllowDuringConstructionScript

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

Public variable

uint16: 1 

bDeferConstruction

Determines whether the construction script will be run.

Public variable

uint16: 1 

bNoCollisionFail

Determines whether a collision test will be performed when spawning the Actor.

Public variable

uint16: 1 

bNoFail

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

Public variable

uint16: 1 

bRemoteOwned

Is the actor remotely owned.

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

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.

 

猜你喜欢

转载自aigo.iteye.com/blog/2280829
今日推荐