六一的部落格


关关难过关关过,前路漫漫亦灿灿。




UWorld


UWorld::SpawnActor


UWorld::GetControllerIterator

获取控制器列表的迭代器

1/** Returns an iterator for the controller list. */
2FConstControllerIterator GetControllerIterator() const;

FActorSpawnParameters

创建Actor时指定参数

-
SpawnCollisionHandlingOverride 定义生成NPC时发生碰撞的处理方式, ESpawnActorCollisionHandlingMethod 类型
1/* Struct of optional parameters passed to SpawnActor function(s). */
2struct ENGINE_API FActorSpawnParameters
3{
4    /** Method for resolving collisions at the spawn point. Undefined means no override, use the actor's setting. */
5    ESpawnActorCollisionHandlingMethod SpawnCollisionHandlingOverride;
6
7    // ...
8};

World



UWorld


UWorld::SpawnActor


UWorld::GetControllerIterator

获取控制器列表的迭代器

1/** Returns an iterator for the controller list. */
2FConstControllerIterator GetControllerIterator() const;

FActorSpawnParameters

创建Actor时指定参数

-
SpawnCollisionHandlingOverride 定义生成NPC时发生碰撞的处理方式, ESpawnActorCollisionHandlingMethod 类型
1/* Struct of optional parameters passed to SpawnActor function(s). */
2struct ENGINE_API FActorSpawnParameters
3{
4    /** Method for resolving collisions at the spawn point. Undefined means no override, use the actor's setting. */
5    ESpawnActorCollisionHandlingMethod SpawnCollisionHandlingOverride;
6
7    // ...
8};