载入中...
搜索中...
未找到
PhysicsWorldQueries.cpp 文件参考
#include "physics/PhysicsWorldQueries.h"
#include "common/CameraObstruction.h"
#include "common/ProcgenWorldQuery.h"
#include "physics/PhysicsCapabilities.h"
#include "physics/TargetingLineOfSightAdapter.h"
#include "physics/World3D.h"
#include <algorithm>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 

函数

eve::ICameraObstructionQuery & eve::physics::cameraObstructionQuery ()
 Borrow the process-owned camera query on the simulation thread; lifetime is process-wide.
 
TargetingLineOfSightAdapter & eve::physics::targetingLineOfSightAdapter ()
 Borrow the process-owned LOS adapter on the simulation thread; worlds are weakly observed.
 
eve::IProcgenWorldQuery & eve::physics::procgenWorldQuery ()
 Borrow the process-owned terrain projection query; no world ownership is transferred.
 
void eve::physics::registerCameraObstructionWorld (World3D *world)
 Registers camera obstruction world.
 
eve::Result< void > eve::physics::registerTargetingLineOfSightWorld (World3D *world)
 Registers a borrowed live World3D with the targeting LOS adapter.
 

变量说明

◆ lifetime

std::weak_ptr<const void> lifetime

在文件 PhysicsWorldQueries.cpp 第 50 行定义.

◆ world

World3D* world = nullptr

在文件 PhysicsWorldQueries.cpp 第 49 行定义.