• 2024-09-16UE4获取玩家视角相机的位置和朝向
    游戏线程(GameThread)编辑器中(EWorldType::Editor,模拟运行或编辑状态)boolGetObserverView(FVector&Location,FRotator&Rotation)const{//WeareintheSIE(SimulateInEditor)if(GEditor->bIsSimulatingInEditor//classUEditorEngine*GEditor