载入中...
搜索中...
未找到
WorldSphereSweep.h
浏览该文件的文档.
63 [[nodiscard]] virtual Result<std::unique_ptr<IWorldSphereSweep>> bind(std::string_view worldToken,
Move-only, checked operation results for the common layer.
Optional binding capability; physics owns the factory for process lifetime.
Definition WorldSphereSweep.h:52
virtual Result< std::unique_ptr< IWorldSphereSweep > > bind(std::string_view worldToken, WorldSphereSweepSettings settings) const =0
Bind an opaque World3D query token and snapshot the ignored body's generation. @ownership Returns an ...
virtual ~IWorldSphereSweepFactory()=default
Release factory resources.
static constexpr const char * capabilityName
Definition WorldSphereSweep.h:54
Optional physics-owned query session; retains only generation-qualified world/body handles....
Definition WorldSphereSweep.h:39
virtual Result< std::vector< WorldSphereContact > > query(double x, double y, double z, double endX, double endY, double endZ) const =0
Sweep new sphere crossings from start to end; zero-time initial overlaps are excluded....
virtual ~IWorldSphereSweep()=default
Destroy a session without destroying its world.
Owning sphere sweep contact; position is the moving sphere center, not the obstacle surface.
Definition WorldSphereSweep.h:18
std::uint64_t worldEpoch
Process-local world restore revision; zero means no revision-qualified provenance.
Definition WorldSphereSweep.h:26
Immutable per-binding sphere and filter policy.
Definition WorldSphereSweep.h:29
std::uint32_t categoryBits
Definition WorldSphereSweep.h:31
Process-local physics identity projected losslessly from owner handles; never a save identity.
Definition WorldSphereSweep.h:11
friend bool operator==(const WorldSweepIdentity &, const WorldSweepIdentity &)=default
Compare both generation-qualified handles.