载入中...
搜索中...
未找到
PlanarMaterialSnapshot.cpp 文件参考
#include <Box2D/Box2D.h>
#include <cmath>
#include "physics/Body.h"
#include "physics/Fixture.h"
#include "physics/snapshot/WorldSnapshotCodec.h"

浏览源代码.

命名空间

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

函数

Value eve::physics::snapshot_detail::fixtureMaterialValue (const b2Fixture &fixture)
 Owning material/filter projection from a synchronous backend observation.
 
Result< void > eve::physics::snapshot_detail::restoreFixtureMaterial (Fixture &fixture, const Value &value)
 Validate material fields before applying them to a detached fixture.
 
Result< void > eve::physics::snapshot_detail::migratePlanarV2 (Value &payload)
 Migrate previous schema with explicit defaults for previously omitted state.