Optional physics backend for vehicle mobility and body attach. 更多...
命名空间 | |
| namespace | action_adapter |
| namespace | bake_detail |
| namespace | box3d |
| namespace | collapse_detail |
| namespace | coupling_detail |
| namespace | destruction_cook |
| namespace | detail |
| namespace | force_detail |
| namespace | jolt |
| namespace | snapshot_detail |
| namespace | softbody |
| namespace | softbody_cook |
| namespace | trajectory |
| namespace | world3d_detail |
类 | |
| class | AcceleratorBackendProviderRegistration |
| Move-only lifetime token for one independently registered accelerator provider. 更多... | |
| struct | AngularDampingModel |
| Isotropic angular drag against body-minus-medium angular velocity. 更多... | |
| class | BakedParticlePlayback |
| Independent clock and placement over a shared immutable particle clip. @ownership Owns reusable scratch storage; shares only immutable clip samples. No source/world pointers. @thread Each player, including sampling, requires exclusive access; separate players are independent. 更多... | |
| struct | BakedParticlePose |
| Owning planar sprite presentation; pixels, unwrapped degrees, linear RGBA and normalized UV. 更多... | |
| struct | BakedParticleSample |
| Owning visible sample retaining the two-part stable identity. 更多... | |
| class | BakePlaybackClock |
| Value-owned playback time state shared by baked channel implementations. @ownership Owns time/rate/pause/wrap only; the immutable clip remains the duration authority. @thread Each instance requires exclusive access during mutation; copies are independent. No callbacks or IO. @lifetime Retains no clip or simulation references. Every operation receives explicit elapsed time/duration. 更多... | |
| class | BakeRecipe |
| Bounded provenance builder for explicit-coordinate baked recordings. @ownership Owns names and content digests; never retains source bytes or world pointers. @thread Owner-thread mutation; const encoding is reentrant without concurrent mutation. No callbacks or IO. Schemas EVECREC1 (metres) and EVEBREC1 (planar pixels) fix units, field order and length framing. Unknown versions/fields are rejected. Producers must supply algorithm/backend revisions, all source dependencies, parameters, the actual fixed timestep and sampling stride, and every named RNG seed. These describe admission, not cross-backend determinism. 更多... | |
| struct | BakeRigidPlacement |
| Rotation about the baked origin followed by translation, in the track's explicit units; no scaling. 更多... | |
| class | BakeRigidTransform |
| Value-owned validated rigid placement shared by baked pose consumers. @ownership Owns a normalized placement; copies are independent, no source pointers or callbacks. @thread Each instance requires exclusive mutation; const application is reentrant. 更多... | |
| class | Body |
| 2D rigid body (Box2D) in pixel-space coordinates. Owned by a World; create shapes with newRectangleFixture/newCircleFixture. 更多... | |
| class | Body3D |
| Backend-neutral 3D rigid body in meter-space coordinates (+Y up by convention). Owned by a World3D; create primitive or convex-hull shapes with the new*Shape APIs. 更多... | |
| struct | BodyContactPoint3D |
| Owning contact point, oriented from the queried body toward its neighbour. 更多... | |
| struct | BodyContacts3D |
| Snapshot of current contacts; values survive later queries and world destruction. 更多... | |
| struct | BoneDetachEvent |
| One ordered detach event emitted during step. 更多... | |
| struct | BonePresentation |
| Presentation snapshot for one bone (world pose + proxy extents). 更多... | |
| struct | BroadPhaseAabb3D |
| Fixed-capacity deterministic result of one AABB broad-phase query. 更多... | |
| struct | BroadPhaseHit3D |
| One generation-qualified shape returned by an owning broad-phase query. 更多... | |
| class | BuoyancyGeometry |
| Exact primitive immersion in the half-space y <= surfaceY, with +Y upward. @ownership All inputs/results are values; no body/world references or callbacks are retained. @thread Reentrant on any thread with immutable inputs. No allocation on success. 更多... | |
| struct | BuoyancyModel |
| Displaced-volume buoyancy; caller supplies submerged volume and centroid. 更多... | |
| struct | CameraSphereHit3D |
| CameraSphereHit3D public API. 更多... | |
| struct | CapsuleMove3D |
| Owning result of continuous capsule movement. 更多... | |
| struct | CapsuleMovePolicy3D |
| Per-call capsule mover classification policy; never mutates persistent World3D settings. 更多... | |
| struct | CapsuleOverlap3D |
| Owning summary of a capsule overlap query. 更多... | |
| class | Cloth |
| Interactive 2D cloth — Verlet particles + distance constraints. Pixel space (same convention as Box2D World). Script-owned. 更多... | |
| class | Cloth3D |
| Interactive 3D cloth — Verlet particles + distance constraints. Meter space, +Y up, grid laid out in the XZ plane with the top row pinned. 更多... | |
| struct | ClothContact3D |
| Result of a 3D point probe: deepest non-sensor shape within radius. Normal points from the shape toward the probed point (meters). @ownership Compatibility projection: body is a synchronous observer, never an owning pointer. @lifetime Consume on the simulation thread before destroying a body/world or restoring topology. Cross-frame consumers retain a PhysicsBodyHandle and resolve it through the world instead. 更多... | |
| class | ClothGPU |
| GPU-accelerated 2D cloth — Verlet integration and distance-constraint relaxation run in a Vulkan compute shader; positions are read back each frame for drawing. Same pixel-space conventions and script API shape as Cloth. 更多... | |
| class | ClothModel |
| Reusable, validated cloth simulation asset. 更多... | |
| struct | ClothModelDistanceConstraint |
| Precomputed rest-length constraint between two cloth particles. 更多... | |
| struct | ClothModelFoldConstraint |
| Adjacent-triangle fold relationship around the shared edge (a,b). 更多... | |
| struct | ClothModelParticle |
| Immutable rest-space particle stored by a ClothModel. 更多... | |
| struct | ClothModelTetherConstraint |
| Geodesic maximum-distance constraint from a particle to a fixed anchor. 更多... | |
| struct | ClothModelTriangle |
| Triangle indices into a ClothModel particle array. 更多... | |
| struct | ClusterBreakEvent |
| Emitted when a broken edge separates two different cook clusters. 更多... | |
| class | CollapseAnimation |
| Owning, solver-independent baked rigid-fragment animation within Physics. @ownership Owns all samples; retains no instance/world pointers. @thread Mutation requires exclusive access. Const sampling/saving may run concurrently when no caller mutates the clip. Sampling/saving have no callbacks. Copies may play independently. capture synchronously invokes the source interface without locks; source methods must not reenter or mutate this clip, and the source must remain stable throughout the call. @lifetime Valid after source instance/world destruction and process restart. File schema EVECOLL1 versions 3/4 checksum all bytes (noncryptographic); v4 embeds provenance. Versions 1/2 load as unverified legacy input; saving upgrades them. Version 1 migrates as boxes. Unknown versions, trailing bytes and malformed data are rejected before publication. 更多... | |
| class | CollapseCaptureSource |
| Read-only source protocol for one atomic offline collapse sample. @ownership The caller owns the source; capture borrows it synchronously and retains no source address. Returned poses own values and returned geometry must remain immutable for its entire shared lifetime. @thread Source owner thread, outside simulation steps. All three queries must describe the same stable source state; queries must not mutate/reenter the destination clip or invoke gameplay callbacks. @lifetime The source may be destroyed immediately after capture returns. No registry or world is required. 更多... | |
| class | CollapseDust |
| Owning gas presentation cache, independent of the source solver. @ownership Owns frames and depth scratch; borrows arguments synchronously only. @thread Single caller, no callbacks or concurrent mutation. 更多... | |
| class | CollapsePlayback |
| Independent clock over a frozen, shared collapse animation. @ownership Owns a shared immutable snapshot. Copies share samples but copy clock state. @lifetime No world, renderer or caller-owned pointers are retained. @thread Each instance requires exclusive access during mutation; separate copies may run concurrently. No callbacks, IO, wall clock or physical simulation occur during playback. 更多... | |
| class | ContactRelay |
| class | Coupling3D |
| Owning 3D transmission constraint, stepped transactionally by its World3D. @ownership Caller/VM owns wrapper; World registers an observer and invalidates it before teardown. @lifetime Body/source-joint/world destruction invalidates the wrapper; no backend pointers persist across steps. @thread All operations and destruction require the simulation owner thread, outside callbacks/World3Dstep. @reentrancy No callbacks or locks. Source references are borrowed only for construction. 更多... | |
| struct | Coupling3DState |
| Owning observation; coordinates/error are m or rad, impulse is the last completed generalized impulse. 更多... | |
| struct | CouplingLimits3D |
| Stabilization and force limits for an ideal mechanical transmission. 更多... | |
| struct | CouplingPoint3D |
| Owning SI point (meters); pulley attachments use body-local points, guides use world points. 更多... | |
| struct | DampingModel |
| Isotropic linear and quadratic drag against velocity relative to a medium. 更多... | |
| struct | DeformFrame |
| Owning snapshot with actual connectivity, stable indexed positions and explicit sample time. 更多... | |
| class | DeformMeshPresentation |
| Prepared dynamic mesh presentation over an owned deformation player. @ownership Owns immutable asset and CPU buffers only; the caller owns playback state. Never retains Graphics, Mesh, ECS or source simulation pointers. @thread Render-owner thread, exclusive use; no callbacks. Caller owns graphics-resource lifecycle. 更多... | |
| class | DeformPlayback |
| Independent clock and placement over a shared immutable deformation clip. @ownership Owns reusable scratch storage; shares only immutable clip samples. No source/world pointers. @thread Each player, including sampling, requires exclusive access; separate players are independent. 更多... | |
| struct | DeformPoint |
| Owning position in the explicit coordinates recorded by the recipe. 更多... | |
| class | DeformRecording |
| Bounded owning builder for fixed-topology deformation recordings. @ownership Owns a frozen recipe copy and accepted value frames, never a source/VM/world pointer. @thread Exclusive owner-thread mutation; no callbacks, IO, clocks or solver calls. 更多... | |
| class | DeformTopology |
| Immutable connectivity and UV ownership for fixed-topology deformation playback. @ownership Copies share frozen value storage; vertex indices define stable identities within this topology. @lifetime Spans borrow this topology's shared storage and expire when its final owning copy is destroyed. @thread Const access is reentrant; preparation retains no source pointers, solver, GPU objects or callbacks. 更多... | |
| class | DeformTrack |
| Immutable fixed-topology deformation clip, independent of simulation and rendering providers. @ownership Shares frozen frames and a copied recipe; input mutation or source destruction cannot affect playback. @thread Const access is reentrant with independent output buffers. No callbacks, wall clock reads or solver calls. 更多... | |
| struct | DeformUV |
| Fixed per-vertex texture coordinates, independent of animated positions. 更多... | |
| class | Destruction |
| Optional physics satellite for Chaos-style geometry-collection destruction. 更多... | |
| class | DestructionDust |
| Optional fluid-backed destruction presentation module; no ECS systems or retained service links. 更多... | |
| struct | DestructionField |
| One volumetric influence applied to a geometry-collection instance. 更多... | |
| class | DestructionFx |
| Optional presentation satellite for geometry-collection destruction. 更多... | |
| struct | DestructionStepBudget |
| Per-step production budgets (0 = unlimited). 更多... | |
| struct | DestructionStepReceipt |
| Observable outcome of one checked step. 更多... | |
| struct | DirectionalField |
| Directional acceleration in m/s^2, independent of body mass. 更多... | |
| struct | DirectionalForceField |
| Directional force in N, independent of the affected body's mass. 更多... | |
| class | DistanceField3D |
| Regular 3D signed-distance grid for terrain and voxel collision queries. Negative samples are solid, positive samples are empty. Samples are stored at grid vertices and queried with trilinear interpolation. 更多... | |
| class | DistanceField3DSdf |
| Borrows a DistanceField3D as the shared ISdfField3D capability surface. 更多... | |
| struct | DustFogFrame |
| Owning worker output; no GPU or source pointers. Graphics borrows pixels only for upload. 更多... | |
| struct | DustFogView |
| Owning camera snapshot; CPU workers never access an ECS camera. 更多... | |
| struct | FieldApplicationReceipt |
| Observable receipt for one checked field application. 更多... | |
| struct | FieldDefinition |
| Owned field definition; insertion order determines floating-point accumulation order. 更多... | |
| struct | FieldFilter |
| Field membership independent of collision filtering; excludes take precedence over include-any. 更多... | |
| struct | FieldRegion |
| SI field support; Sphere with negative radius retains the unbounded convention. 更多... | |
| class | FieldSet |
| Immutable field collection preparing one force batch for a set of dynamic recipients. @ownership Owns copied model values only; requests and worlds are borrowed for the call, never retained. @thread Build on any thread with immutable inputs; prepare on the simulation owner, outside callbacks. @reentrancy No callbacks or locks. Failures never mutate worlds; prepare does not wake bodies. 更多... | |
| struct | FieldTarget |
| Borrow-free recipient identity and application-defined category bits, sampled at body center of mass. 更多... | |
| class | Fixture |
| 2D fixture: a shape attached to a Body with material + filter settings. Also carries a string tag used by contact events. 更多... | |
| class | Fluid2D |
| Interactive 2D particle fluid (double-density relaxation) in pixel space. Script-owned; independent of Box2D World. 更多... | |
| class | ForceBatch |
| Move-only, single-use collection of validated force requests. @ownership Owns values and handles only, never world/body pointers. Safe to discard. @thread Prepare/commit on the world's simulation owner, outside solver callbacks. @reentrancy No callbacks. A successful commit consumes the batch; failure changes no bodies. 更多... | |
| struct | ForceLoad |
| Owned SI load request: world point in meters, force in N, free torque in Nm. @lifetime The link is observed, never owns a body; restore/destruction invalidates it. 更多... | |
| class | ForceModels |
| Pure force evaluators for 2D XY slices and full 3D, returning owning SI values. @ownership Inputs are borrowed only for this call; no state or callbacks are retained. @thread Any thread with immutable inputs; reentrant and allocation-free on success. 更多... | |
| class | ForceReceipt |
| Read-only completion receipt, safe to retain after world destruction. @ownership Shares only receipt storage; does not retain a world or body. World owns status transitions. @thread Query on the simulation owner thread, serialized with world mutation; no callbacks. 更多... | |
| struct | ForceStepState |
| struct | ForceVector |
| Owning world-space SI vector; 2D uses XY with Z exactly zero. 更多... | |
| struct | FractureFragment |
| Owning closed convex fragment in body-local metres; outward triangle winding. Each triangle has material 0 (source exterior) or 1 (new fracture interior). Immutable after publication; no renderer, source mesh or physics pointers. 更多... | |
| struct | FractureGeometry |
| Owning, typed mesh payload shared immutably by simulation, clip and renderer. @thread Read-only sharing is safe; build/validation is single caller, no callbacks. 更多... | |
| struct | FractureRecipe |
| Versioned cook recipe for Chaos-style pre-fracture (schema v1). 更多... | |
| struct | FrictionModel |
| Coulomb static/kinetic friction coefficients (static >= kinetic >= 0). 更多... | |
| struct | GearCoupling3DSettings |
| Gear relation q1 + ratio*q2 = constant captured at creation. Mixed joints give ratio length-dependent units. 更多... | |
| struct | GeometryCollectionAsset |
| Immutable cooked/authored geometry-collection asset. 更多... | |
| struct | GeometryCollectionBone |
| One pre-authored leaf bone (box collision proxy) inside a geometry collection. 更多... | |
| struct | GeometryCollectionEdge |
| One undirected structural edge with a strain break threshold. 更多... | |
| class | GeometryCollectionInstance |
| Runtime owner of bone state, connection strain, and PhysicsLink bindings. 更多... | |
| struct | GeometryCollectionInstanceSnapshot |
| Persistent runtime snapshot for one geometry-collection instance. 更多... | |
| class | GeometryCollectionRenderer |
| Presentation bridge for a borrowed geometry-collection instance. 更多... | |
| class | IAcceleratorBackendProvider |
| Optional provider that creates an accelerator backend for domain state. 更多... | |
| class | IBodyBackend3D |
| Solver-independent control of a rigid body, exclusively owned by its facade. @ownership Implementation owns the native body; parent invalidation detaches before world teardown. @thread Owning simulation thread only, between steps; no callbacks or reentrant mutation. @lifetime Results own their data. No borrowed native state escapes this interface. 更多... | |
| class | IJointBackend3D |
| Solver-independent control of one constraint, owned exclusively by its Joint3D facade. @ownership The implementation owns the native constraint until destroy or parent invalidation. @lifetime No native identifier escapes; invalidate detaches before parent body/world teardown. @thread All calls run on the owning simulation thread, between steps. @reentrancy Calls never invoke user callbacks. Setters validate all inputs before mutation. 更多... | |
| struct | ImmersionSample |
| Owned submerged volume (m^3), fraction and world-space center of buoyancy (m). 更多... | |
| class | IShapeBackend3D |
| Sole owner of native shape and cooked resources; facade owns portable source geometry. @thread Owning simulation thread, between steps; no user callbacks or concurrent mutation. @lifetime Owning results survive mutation. Input views are borrowed only for this synchronous call. 更多... | |
| class | ISimulationBackend |
| Minimal observable contract for physics simulation providers. 更多... | |
| class | IWorldBackend3D |
| Complete rigid-world execution boundary, bound once to an owning World3D facade. @ownership Owns exactly one native world; child backends own native children of that world. The facade remains sole owner of engine identity, portable topology, query projections and event queues. @thread Simulation thread only between steps. Native callbacks are internal predicates; public events are collected first and published by the facade after returning from the solver. @lifetime Owning query results survive later queries. Legacy query projections live in the facade. 更多... | |
| class | Joint2D |
| Owning planar joint wrapper observing World-owned backend state. @ownership Caller/VM owns factory wrappers; World owns restored wrappers and all solver joints. @lifetime Body/world/source-joint destruction or restore invalidates observers; never retain a raw backend pointer. @thread All methods and destruction are simulation-owner-thread only, outside solver callbacks/step. @reentrancy No callbacks; no locks or reentrant world mutation. Inputs are borrowed only during calls. 更多... | |
| struct | Joint2DSettings |
| Validated-at-creation joint parameters; all lengths are meters, angles radians. 更多... | |
| struct | Joint2DState |
| Owning solver observation. Coordinate is angle/radians or translation/meters by kind. 更多... | |
| class | Joint3D |
| Script-facing joint owned by a World3D. Legacy scalar/void methods adapt the checked backend contract. 更多... | |
| struct | JointFrames3D |
| Owning joint frames: local XYZ position followed by quaternion XYZW for each body. 更多... | |
| struct | JointPoint2D |
| Owning world-space point/direction in SI (meters), not pixel coordinates. 更多... | |
| class | LayeredCloth3D |
| Owns multiple cloth sheets and advances their contacts synchronously. @ownership Owns every layer; no external runtime pointers are retained. @thread All operations run on the owning physics thread, between draw calls. @reentrancy No callbacks. No concurrent calls or layer updates during update(). Runtime-only state; no persistence or GPU parity is claimed. Replays use fixed dt and stable layer order, with a 1e-5 metre tolerance on the same CPU build. 更多... | |
| class | LayeredClothGPU |
| Vulkan-resident multi-sheet 3D XPBD cloth with explicit backend errors. @ownership Owns buffers, compute shader and sequence. Graphics owns the draw mesh. @lifetime Borrowed Gpgpu and Graphics/device must outlive this object, including destruction. Destroy only after the last draw frame is presented, never inside an open pass. @thread Render/submission thread only. Call update before render-pass recording. @reentrancy No callbacks; update/draw/diagnostics must not overlap. Grid topology only; tolerance-bounded swept point-face/edge-edge contacts, no rigid-body coupling. GPU floating-point/contact-list ordering is tolerance-bounded, not bit-exact. 更多... | |
| class | Mechanism2D |
| Composed 2D mechanical assembly owned by a World. 更多... | |
| class | Mechanism3D |
| Composed mechanical assembly owned by a World3D. 更多... | |
| struct | ParticleBakeMaterial |
| One borrowed material template for an emitter-session identity. @ownership Material is borrowed for a draw call only; its resources must survive Graphics frame completion. 更多... | |
| class | ParticleBakePresentation |
| Prepared sprite-batch consumer of recorded particles, independent of source emitters. @ownership Owns immutable asset and CPU buffers only; caller owns playback state; never retains graphics or material resource references between calls. @thread Render-owner thread with exclusive access; no scripts or simulation calls. 更多... | |
| class | ParticleTrack |
| Immutable particle trajectories independent of live simulation, ECS and graphics resources. @ownership Shares frozen values and provenance. No input aliases or resource pointers are retained. @thread Const sampling is reentrant with independent output buffers; no callbacks or implicit time source. 更多... | |
| struct | ParticleTrackKey |
| Explicit event/sample time and owning presentation value. 更多... | |
| struct | ParticleTrajectory |
| One birth's complete trajectory, including keys exactly at birth and death. 更多... | |
| class | Physics |
Physics module — Box2D (2D) + Box3D (3D) rigid bodies and SPH fluid. Script: physics <- eve.Physics(); world <- physics.newWorld(0, 900); world3 <- physics.newWorld3D(0, -9.8, 0); 更多... | |
| struct | PhysicsArtifactCollider |
| Queryable CPU collider resource owned by the physics module. 更多... | |
| struct | PhysicsArtifactHandleTag |
| Owner tag for physics artifact runtime handles. 更多... | |
| class | PhysicsArtifactProvider |
| Real physics-module provider for generated collider publication. 更多... | |
| struct | PhysicsArtifactRayHit |
| Backend-neutral ray-query result used for parity tests. 更多... | |
| class | PhysicsArtifactStage |
| Staged, owning Box3D construction for one provider mutation. 更多... | |
| class | PhysicsBake |
| Compatibility-only VM projection; Physics owns the canonical entry. Optional projection of immutable baked assets and independent players. @ownership The process owns the stateless facade; the VM owns recipe wrappers and players. @thread VM owner thread only; no retained simulation pointers, callbacks or locks. 更多... | |
| class | PhysicsBakeGraphics |
| Optional VM bridge from native baked players to graphics presentation. @ownership ModuleManager owns this stateless facade; calls borrow players and live targets synchronously. @thread VM/render owner thread, excluding other target transform writers. No callbacks or implicit time advance. 更多... | |
| class | PhysicsBakeRecording |
| Compatibility-only facade for Physics script recording; not an independently registered module. @ownership The process owns the stateless facade; VM owns sessions, which retain only captured values. @thread Simulation/VM owner thread outside source stepping; no callbacks or retained source pointers. 更多... | |
| struct | PhysicsBodyHandleTag |
| Tag for a process-local physics-body handle. 更多... | |
| struct | PhysicsJointHandleTag |
| Tag for a process-local physics-joint handle. 更多... | |
| struct | PhysicsJointLink |
| Generation-qualified relationship between a World3D and one joint. 更多... | |
| struct | PhysicsLink |
| Generation-qualified relationship between one world and one body. 更多... | |
| struct | PhysicsShapeHandleTag |
| Tag for a process-local physics-shape handle. 更多... | |
| struct | PhysicsShapeLink |
| Generation-qualified relationship between a World3D and one shape. 更多... | |
| struct | PhysicsVector3D |
| Allocation-free owning three-dimensional physics value. 更多... | |
| struct | PhysicsWorldHandleTag |
| Tag for a process-local physics-world handle. 更多... | |
| struct | PortableWorldSnapshotAccess |
| struct | PulleyCoupling3DSettings |
| Weighted rope length lA + ratio*lB; ideal taut pulley by default, optional tension-only slack rope. 更多... | |
| struct | QueryFilter3D |
| Query filter applied atomically for one owning query operation. 更多... | |
| struct | RadialField |
| Softened inverse-square field; positive strength attracts, negative repels. 更多... | |
| struct | RayHit3D |
| Owning snapshot of the closest ray intersection. 更多... | |
| struct | RigidBakeBinding |
| Recording-only link from a persistent track ID to a generation-qualified live body. @ownership Owns identities only. World owns the body; no lifetime is extended. @lifetime Rebuild links after restoring/recreating a world. Never serialize runtime handles. Destroying the source first makes capture fail; destroying these links never modifies the source. 更多... | |
| class | RigidPlayback |
| Independent clock over a frozen rigid track; no solver, world, renderer or wall clock. @ownership Holds a cheap immutable track copy sharing sample storage, plus value-owned clock state. @thread Mutate each player exclusively; copies may run independently. No callbacks or IO. 更多... | |
| class | RigidPoseTrack |
| Frozen fixed-roster rigid poses, independent of physics, graphics and script providers. @ownership Copies share immutable owning data; prepare consumes values and retains no caller aliases. @thread Const operations and separate copies are reentrant. No callbacks, clock reads or IO during sampling. @lifetime Samples and identities survive destruction of the original recording and simulation world. Frames may arrive with different sample order, but missing, duplicate or new IDs are rejected. Position interpolation is linear; rotations use shortest-path normalized interpolation, not angular turns. 更多... | |
| class | RigidRecording |
| Bounded owning recorder of stable-identity rigid frames, without simulation dependencies. @ownership Owns recipe and accepted values; never retains body/world/VM pointers or runtime handles. @thread Exclusive owner-thread mutation; no callbacks, implicit clock reads or stepping. 更多... | |
| struct | RigidTrackFrame |
| Owning frame at an explicit finite simulation time, starting at zero. 更多... | |
| struct | RigidTrackPose |
| Owning pose; XYZW quaternion, pixels or metres selected by the track. Planar poses require z=qx=qy=0. 更多... | |
| struct | RigidTrackSample |
| Stable caller-supplied object identity paired with a pose; never a runtime body handle. 更多... | |
| class | Rope |
| Optional physics satellite that owns rope construction, schema, and script bindings. 更多... | |
| class | Rope3D |
| Renderer-independent particle rope with XPBD stretch and bend constraints. 更多... | |
| struct | RopeColliderId |
| Stable identifier for a rope-owned analytic collider. 更多... | |
| class | Shape3D |
| 3D shape (box/sphere/capsule) attached to a Body3D with material settings. Created via Body3D::new*Shape; owned by the world. 更多... | |
| struct | ShapeBehavior3D |
| Shape behavior reapplied atomically when geometry changes. 更多... | |
| struct | ShapeFilter3D |
| Collision filter; negative groups never collide, positive groups always collide. 更多... | |
| struct | ShapeGeometry3D |
| Owning, backend-independent shape source; metres, local quaternion XYZW. 更多... | |
| struct | ShapePlane3D |
| Owning world-space plane; double-precision point and unit normal. 更多... | |
| struct | SimulationBackendSelection |
| Result of choosing an optional accelerator or CPU alternate path. 更多... | |
| struct | SimulationObservation |
| Observable backend progress shared by CPU and accelerator providers. 更多... | |
| struct | SimulationSettings |
| Validated solver policy for one simulation step. 更多... | |
| class | SoftBody3D |
| Volumetric particle soft body using overlapping shape-matching clusters. 更多... | |
| struct | SoftBody3DDefinition |
| Versioned, owning creation definition for one volumetric soft body. 更多... | |
| class | SoftBody3DRenderer |
| Presentation-only renderer for a borrowed volumetric soft body. 更多... | |
| struct | SoftBodyModel |
| Backend-neutral, owning result of deterministic soft-body cooking. 更多... | |
| struct | SoftBodyModelCluster |
| An overlapping shape-matching cluster stored by particle index. 更多... | |
| struct | SoftBodyModelDefinition |
| Versioned authoring recipe used to cook a mesh-backed SoftBodyModel. 更多... | |
| struct | SoftBodyModelParticle |
| A particle stored in an immutable cooked soft-body model. 更多... | |
| struct | SoftBodyModelSurfaceBinding |
| A surface vertex bound directly to one cooked simulation particle. 更多... | |
| struct | SurfaceMaterial3D |
| Owning surface values; userMaterialId contains the engine material ID and combine policy encoding. 更多... | |
| class | TargetingLineOfSightAdapter |
| Read-only 3D physics implementation of sensing's LOS capability. 更多... | |
| class | TerrainLoadGravityState |
| Caller-owned state for Pcg-style rigid-body activation after terrain loading. 更多... | |
| struct | TireInput |
| Contact-frame sample: +X forward, +Y lateral; ground-relative m/s, N, Nm. 更多... | |
| struct | TireModel |
| Caller-owned wheel parameters; stiffness in N per unit slip / radian. 更多... | |
| struct | TireSample |
| Owning wheel step result; publish angularVelocity once after a successful step. 更多... | |
| class | WingAssembly |
| Immutable multi-surface aerodynamics, producing a single external-force batch. @ownership Copies geometry/polar values; stores no world/body or control-input pointers. @thread Build with immutable inputs on any thread; prepare on simulation owner outside callbacks. @reentrancy No callbacks, scripts or locks; failures never change bodies or partially apply surfaces. 更多... | |
| struct | WingModel |
| Wing geometry and game-oriented continuous stall polar, all in SI/radians. 更多... | |
| struct | WingSample |
| Owning force and observable coefficients from a wing sample. 更多... | |
| struct | WingSurface |
| Owned wing/tail/control surface in body-local coordinates. 更多... | |
| class | World |
| Box2D world wrapper (2D physics) with pixel-space coordinates. Handles stepping, gravity, raycasts, AABB queries and contact/impact events. 更多... | |
| class | World3D |
| Box3D rigid-body world. Script coordinates are meters (Box3D native), unlike 2D World which uses pixels + Physics.setMeter. 更多... | |
| struct | WorldSnapshotAccess |
类型定义 | |
| using | PhysicsArtifactHandle = eve::RuntimeHandle< PhysicsArtifactHandleTag > |
| Generation-qualified handle for a physics artifact collider. | |
| using | CollapseBakeRecipe = BakeRecipe |
| Compatibility name for the canonical checked BakeRecipe API; encoding remains EVECREC1. | |
| using | CollapsePlaybackWrap = BakePlaybackWrap |
| Endpoint policy for advancement; explicit seeks always clamp. | |
| using | CollapsePlacement = BakeRigidPlacement |
| Rigid placement in metres; rotates baked world coordinates about their origin, then translates. Quaternion is XYZW, normalized at admission. Scaling is not part of this rigid placement contract. | |
| using | SimulationStep = eve::SimulationStep |
| Compatibility alias for the common injected simulation step. | |
| using | SimulationStepCallback = void(*)(void *context, const eve::SimulationStep &step, const SimulationSettings &settings) noexcept |
| Callback used by a domain-owned CPU or test backend adapter. | |
| using | PhysicsWorldHandle = eve::RuntimeHandle< PhysicsWorldHandleTag > |
| Generation-qualified runtime identity for a physics world. | |
| using | PhysicsBodyHandle = eve::RuntimeHandle< PhysicsBodyHandleTag > |
| Generation-qualified runtime identity for a physics body. | |
| using | PhysicsShapeHandle = eve::RuntimeHandle< PhysicsShapeHandleTag > |
| Generation-qualified runtime identity for a physics shape. | |
| using | PhysicsJointHandle = eve::RuntimeHandle< PhysicsJointHandleTag > |
| Generation-qualified runtime identity for a physics joint. | |
枚举 | |
| enum class | BakePlaybackWrap { Clamp , Loop } |
| Endpoint policy: advances clamp or wrap; explicit seeks always clamp inclusively. 更多... | |
| enum class | BakeCoordinates { MetresRightHandedYUp , PlanarPixels } |
| Explicit source coordinates; planar pixels preserve XY axes without an implicit flip. 更多... | |
| enum class | BoneRuntimeState : std::uint8_t { Attached = 0 , Detached = 1 , Sleeping = 2 } |
| Runtime lifecycle for one bone inside a geometry-collection instance. 更多... | |
| enum class | DeformPrimitive { Segments , Triangles } |
| Explicit primitive arity; connectivity retains order and triangle winding. 更多... | |
| enum class | RigidTrackSpace { PlanarPixels , Metres3D } |
| Explicit sample coordinates; planar pixels preserve the producer's XY axes without implicit Y flip. 更多... | |
| enum class | JointKind3D { Distance , Revolute , Prismatic , Spherical , Wheel , Weld , Motor , Parallel , Filter } |
| Stable constraint kinds; numeric values are used by stress events. 更多... | |
| enum class | ShapeKind3D { Box , Sphere , Capsule , ConvexHull , TriangleMesh , HeightField } |
| Geometry kinds supported by the rigid shape contract. 更多... | |
| enum class | SimulationBackendKind { Cpu , Gpu , MockAccelerator } |
| Kind of implementation that owns a simulation step. 更多... | |
| enum class | SimulationBackendDomain { World2D , World3D , Cloth2D , Cloth3D , Rope3D , SoftBody3D , SurfaceFluid } |
| Domain state consumed by an accelerator provider. 更多... | |
| enum class | SimulationDeterminism { BitExact , ToleranceBounded , ExplicitlyNondeterministic } |
| Determinism guarantee made by a simulation backend. 更多... | |
| enum class | ClothConstraintKind : uint8_t { Structural , Shear , Bend } |
| Type of a precomputed distance constraint in a cloth model. 更多... | |
| enum class | DestructionFieldKind : std::uint8_t { Anchor = 0 , Strain = 1 , Impulse = 2 , Sleep = 3 } |
| Runtime field kinds mirrored from Chaos Destruction Fields. 更多... | |
| enum class | DestructionFieldFalloff : std::uint8_t { None = 0 , Linear = 1 } |
| Falloff applied from the field centre to its radius. 更多... | |
| enum class | FractureMode : std::uint8_t { UniformVoronoi = 0 , ClusteredVoronoi = 1 , Radial = 2 , Planar = 3 } |
| Fracture pattern used when cooking a geometry collection. 更多... | |
| enum class | DustFogRequest { Started , Busy , Unchanged } |
| Explicit worker admission state. 更多... | |
| enum class | DustFogDisplay { Pending , Ready } |
| Whether a matching-view fog image is available for compositing. 更多... | |
| enum class | FieldRegionKind { Sphere , RectangleXY , Box , Global } |
| Spatial support; RectangleXY ignores Z, Box is axis-aligned in world space. 更多... | |
| enum class | ForceStepStatus { Pending , Applied , Cancelled } |
| Completion of the world step to which a submitted force batch belongs. 更多... | |
| enum class | Joint2DKind { Revolute , Prismatic , Distance , Pulley , Gear , Wheel , Weld , Motor } |
| Closed set of planar mechanical constraints. Gear couples two existing joints. 更多... | |
| enum class | ContactQueryCoverage3D { Complete , Truncated } |
| Whether a bounded contact query observed every available point. 更多... | |
| enum class | ClothProbeStatus { Miss , Hit } |
| Named outcome for a filtered cloth particle probe. 更多... | |
| enum class | RigidBackend3D { Box3D , Jolt } |
| Solver identity fixed for the lifetime of one world; independent of CPU/GPU execution. 更多... | |
| enum class | RopeTopologyChange { Changed , Unchanged } |
| Result of a topology-changing rope operation. 更多... | |
| enum class | RopeColliderChange { Changed , Unchanged } |
| Result of a rope collider mutation. 更多... | |
| enum class | SoftBodySurfaceSampling { None , Vertices , Voxels } |
| SoftBodySurfaceSampling public API. 更多... | |
| enum class | SoftBodyVolumeSampling { None , Voxels } |
| SoftBodyVolumeSampling public API. 更多... | |
函数 | |
| PhysicsArtifactProvider & | physicsArtifactProvider () noexcept |
| Return the process-owned physics artifact provider singleton. | |
| void | registerPhysicsArtifactProvider () |
| Register the physics provider in the common capability registry. | |
| std::string | bakedAssetContentKey (std::string_view bytes) |
| Stable noncryptographic 128-bit content digest, encoded as 32 lowercase hexadecimal bytes. @ownership Borrows bytes only for this call; returns owning text. Reentrant, no callbacks. @cost Linear in bytes, for asset preparation/integrity checks outside sampling. | |
| Result< void > | publishBakedAsset (std::string_view path, std::string_view bytes) |
| Publish complete baked asset bytes atomically without replacing an existing path. @ownership Borrows path and bytes only during this synchronous call; retains neither. @thread Concurrent writers are supported; exactly one can publish a given new path. No callbacks. @cost Linear in bytes plus filesystem durability barriers, once per baked asset outside the frame loop. | |
| Result< BakeRecipe > | copyScriptBakeRecipe (const ssq::Object &object) |
| Copy a type-checked VM recipe for a recording admission. @ownership Borrows the rooted object only during the call; returned recipe owns all metadata. @thread VM owner thread, no callbacks or retained VM references. @cost Linear in bounded recipe metadata, once per recording admission. | |
| constexpr std::string_view | simulationBackendDomainName (SimulationBackendDomain domain) noexcept |
| Returns the stable diagnostic spelling for an accelerated simulation domain. | |
| constexpr std::string_view | simulationBackendKindName (SimulationBackendKind kind) noexcept |
| Returns the stable backend-kind spelling. | |
| constexpr std::string_view | simulationDeterminismName (SimulationDeterminism determinism) noexcept |
| Returns the stable determinism-contract spelling. | |
| std::ostream & | operator<< (std::ostream &stream, SimulationBackendKind kind) |
| Writes a backend kind for diagnostics. | |
| std::ostream & | operator<< (std::ostream &stream, SimulationDeterminism determinism) |
| Writes a determinism contract for diagnostics. | |
| Result< RigidTrackFrame > | captureRigidFrame (const World &world, std::span< const RigidBakeBinding > bindings, float seconds) |
| Copy one owning frame from 2D bodies using pixel XY and an angle-derived Z quaternion. @ownership Borrows the world and bindings only during this call; returns no pointers or runtime handles. @thread Call on the world owner thread, outside stepping/callbacks; no callbacks or world mutation. @cost Linear in bodies plus identity validation sorting, once per recorded sample outside playback. | |
| Result< RigidTrackFrame > | captureRigidFrame (const World3D &world, std::span< const RigidBakeBinding > bindings, float seconds) |
| Copy one owning frame from 3D bodies using metres and XYZW rotations. @ownership Borrows the world and bindings for this call only; returned values survive world destruction. @thread World owner thread outside stepping/callbacks. No callbacks or world mutation. @cost Linear in bodies plus identity validation sorting, once per recorded sample outside playback. | |
| Result< void > | submitRigidPlayback (const RigidPlayback &player, PersistentId identity, graphics::Renderable3D &target) |
| Sample a metre-space rigid player into a live renderer's world matrix, preserving mesh scale. @ownership Borrows player and target only during this call; retains no pointers, handles or callbacks. @lifetime Caller must resolve a live target each call. Either object may be destroyed after return. @thread ECS/render owner thread, outside concurrent mutation; caller must exclude other transform writers. | |
| Result< void > | submitRigidPlayback (const RigidPlayback &player, PersistentId identity, graphics::Renderable2D &target) |
| Submit planar pixel playback to a live 2D renderer, converting quaternion rotation to degrees. @ownership Borrows both objects only during the call; no persistent link or callback. @lifetime Caller resolves a live target each call; either object may be destroyed after return. @thread ECS/render owner thread, excluding other transform writers. | |
| Module_IMPL (PhysicsBakeGraphics, new PhysicsBakeGraphics()) | |
| Result< DeformFrame > | captureDeformFrame (const Cloth3D &source, float seconds) |
| Copy a complete owning deformation frame; source-owner thread outside stepping. @ownership Borrows source only during this call; returned positions/connectivity outlive it. @cost Linear in particles and connectivity per recording sample, with allocation. | |
| EVENGINE_API_DOMAINS void | exposeCollapseAnimation (ssq::Table &table) |
| Register owning animation and sampled pose script types in the destruction VM module. | |
| EVENGINE_API_DOMAINS void | exposeCollapseBakeRecipe (ssq::Table &table) |
| Register the owning recipe builder and checked script admission methods. | |
| Module_IMPL (Destruction, new Destruction()) | |
| Module_IMPL (DestructionDust, new DestructionDust()) | |
| Module_IMPL (DestructionFx, new DestructionFx()) | |
| Result< SdfField3DBlob > | sdfField3DBlobFromDistanceField (const DistanceField3D &field) |
| Copy a DistanceField3D into the portable VertexGrid blob. @cost Copies every distance sample once. | |
| Result< DistanceField3D > | distanceFieldFromSdfField3DBlob (const SdfField3DBlob &blob) |
| Build a DistanceField3D from a portable VertexGrid blob. @cost Allocates the destination grid and copies every sample once. | |
| Result< void > | applyForceSI (Body &body, ForceVector force, ForceVector point) |
| Apply an SI force to a 2D body at an SI world point, converting through its world meter. @ownership Body is borrowed synchronously, never retained; world owns its lifetime. @thread Simulation owner thread, before step, outside callbacks; no reentry or callbacks. | |
| Result< void > | applyForceSI (Body3D &body, ForceVector force, ForceVector point) |
| Apply an SI force to a 3D body at an SI world point. @ownership Body is borrowed synchronously, never retained; world owns its lifetime. @thread Simulation owner thread, before step, outside callbacks; no reentry or callbacks. | |
| void | exposeForceBindings (ssq::Table &table) |
| Register force model value classes and Result-projected functions. @ownership Table is borrowed for registration only; VM owns registered classes. @thread VM owner thread only; does not invoke user callbacks. | |
| void | exposeCoupling3DBindings (ssq::Table &table) |
| Register owning transmission Result factories; table is borrowed on the VM owner thread during this call. | |
| void | exposeJoint2DBindings (ssq::Table &table) |
| Register owning Joint2D Result factories; borrows table during this call on the VM owner thread only. | |
| Module_IMPL (Physics, new Physics()) | |
| void | registerPhysicsCapabilities () |
| Registers physics capabilities. | |
| void | registerCameraObstructionWorld (World3D *world) |
| Registers camera obstruction world. | |
| eve::Result< void > | registerTargetingLineOfSightWorld (World3D *world) |
| Registers a borrowed live World3D with the targeting LOS adapter. | |
| eve::ICameraObstructionQuery & | cameraObstructionQuery () |
| Borrow the process-owned camera query on the simulation thread; lifetime is process-wide. | |
| TargetingLineOfSightAdapter & | targetingLineOfSightAdapter () |
| Borrow the process-owned LOS adapter on the simulation thread; worlds are weakly observed. | |
| eve::IProcgenWorldQuery & | procgenWorldQuery () |
| Borrow the process-owned terrain projection query; no world ownership is transferred. | |
| Module_IMPL (Rope, new Rope()) | |
| Result< DeformFrame > | captureDeformFrame (const Rope3D &source, float seconds) |
| Copy a complete owning deformation frame; source-owner thread outside stepping. @ownership Borrows source only during this call; returned positions/connectivity outlive it. @cost Linear in particles and connectivity per recording sample, with allocation. | |
| Result< void > | beginTerrainLoadGravity (TerrainLoadGravityState *state, Body3D *body, bool terrainFound) |
| Begin monitoring a body when a containing terrain scene exists. | |
| Result< bool > | advanceTerrainLoadGravity (TerrainLoadGravityState *state, Body3D *body, bool terrainLoaded, float deltaSeconds, float activationDelay) |
| Advance terrain-load waiting and restore gravity after the configured delay. | |
| IWorldSphereSweepFactory & | worldSphereSweepFactory () |
| Borrow the process-owned optional sweep factory on the simulation thread. | |
| ssq::Table | projectSweepContactImpulse (World3D *world, const ssq::Object &event, PhysicsVector3D impulse, PhysicsVector3D point) |
| Project an explicit contact impulse through the canonical script Result boundary. | |
详细描述
Optional physics backend for vehicle mobility and body attach.
载具模块数据模型:载具模板 / 命令 / 载具实体。
VehiclePhysics.cpp is compiled only when the physics module is enabled; VehiclePhysicsAbsent.cpp is compiled otherwise. Callers always link one of the two and must not include physics headers.
与引擎其他玩法模块一致(参考 card / weapon / rpg):组件是纯数据结构体, 行为放在 VehicleSystem(静态类)与 IVehicleMobility(可插拔移动模型)里。 载具可以声明武器挂点(MountDef),运行时由 Vehicle 模块通过 weapon 模块 创建 WeaponMountEntity 并挂载武器——RTS / 坦克 / FPS 的区别只体现在 命令队列 / 驾驶输入 / 座位(Phase 4)这些可选面上。
类型定义说明
◆ CollapseBakeRecipe
Compatibility name for the canonical checked BakeRecipe API; encoding remains EVECREC1.
在文件 CollapseAnimation.h 第 13 行定义.
◆ CollapsePlacement
| using eve::physics::CollapsePlacement = typedef BakeRigidPlacement |
Rigid placement in metres; rotates baked world coordinates about their origin, then translates. Quaternion is XYZW, normalized at admission. Scaling is not part of this rigid placement contract.
在文件 CollapsePlayback.h 第 12 行定义.
◆ CollapsePlaybackWrap
| using eve::physics::CollapsePlaybackWrap = typedef BakePlaybackWrap |
Endpoint policy for advancement; explicit seeks always clamp.
在文件 CollapsePlayback.h 第 8 行定义.
◆ PhysicsArtifactHandle
Generation-qualified handle for a physics artifact collider.
在文件 ArtifactProvider.h 第 29 行定义.
◆ PhysicsBodyHandle
| using eve::physics::PhysicsBodyHandle = typedef eve::RuntimeHandle<PhysicsBodyHandleTag> |
Generation-qualified runtime identity for a physics body.
在文件 PhysicsHandles.h 第 28 行定义.
◆ PhysicsJointHandle
| using eve::physics::PhysicsJointHandle = typedef eve::RuntimeHandle<PhysicsJointHandleTag> |
Generation-qualified runtime identity for a physics joint.
在文件 PhysicsHandles.h 第 32 行定义.
◆ PhysicsShapeHandle
| using eve::physics::PhysicsShapeHandle = typedef eve::RuntimeHandle<PhysicsShapeHandleTag> |
Generation-qualified runtime identity for a physics shape.
在文件 PhysicsHandles.h 第 30 行定义.
◆ PhysicsWorldHandle
| using eve::physics::PhysicsWorldHandle = typedef eve::RuntimeHandle<PhysicsWorldHandleTag> |
Generation-qualified runtime identity for a physics world.
在文件 PhysicsHandles.h 第 26 行定义.
◆ SimulationStep
| using eve::physics::SimulationStep = typedef eve::SimulationStep |
Compatibility alias for the common injected simulation step.
Physics does not define a second time value. eve::SimulationStep carries both the monotonically increasing persisted tick and the fixed duration.
在文件 SimulationBackend.h 第 111 行定义.
◆ SimulationStepCallback
| using eve::physics::SimulationStepCallback = typedef void (*)(void* context, const eve::SimulationStep& step, const SimulationSettings& settings) noexcept |
Callback used by a domain-owned CPU or test backend adapter.
在文件 SimulationBackend.h 第 300 行定义.
枚举类型说明
◆ BakeCoordinates
|
strong |
Explicit source coordinates; planar pixels preserve XY axes without an implicit flip.
| 枚举值 | |
|---|---|
| MetresRightHandedYUp | |
| PlanarPixels | |
在文件 BakeRecipe.h 第 11 行定义.
◆ BakePlaybackWrap
|
strong |
Endpoint policy: advances clamp or wrap; explicit seeks always clamp inclusively.
| 枚举值 | |
|---|---|
| Clamp | |
| Loop | |
在文件 BakePlaybackClock.h 第 6 行定义.
◆ BoneRuntimeState
|
strong |
Runtime lifecycle for one bone inside a geometry-collection instance.
| 枚举值 | |
|---|---|
| Attached | |
| Detached | |
| Sleeping | |
在文件 BonePresentation.h 第 7 行定义.
◆ ClothConstraintKind
|
strong |
Type of a precomputed distance constraint in a cloth model.
| 枚举值 | |
|---|---|
| Structural | |
| Shear | |
| Bend | |
在文件 ClothModel.h 第 17 行定义.
◆ ClothProbeStatus
|
strong |
◆ ContactQueryCoverage3D
|
strong |
Whether a bounded contact query observed every available point.
| 枚举值 | |
|---|---|
| Complete | |
| Truncated | |
在文件 OwnedQuery3D.h 第 20 行定义.
◆ DeformPrimitive
|
strong |
Explicit primitive arity; connectivity retains order and triangle winding.
| 枚举值 | |
|---|---|
| Segments | |
| Triangles | |
在文件 DeformTopology.h 第 12 行定义.
◆ DestructionFieldFalloff
|
strong |
Falloff applied from the field centre to its radius.
| 枚举值 | |
|---|---|
| None | |
| Linear | |
在文件 DestructionField.h 第 17 行定义.
◆ DestructionFieldKind
|
strong |
Runtime field kinds mirrored from Chaos Destruction Fields.
| 枚举值 | |
|---|---|
| Anchor | |
| Strain | |
| Impulse | |
| Sleep | |
在文件 DestructionField.h 第 9 行定义.
◆ DustFogDisplay
|
strong |
Whether a matching-view fog image is available for compositing.
| 枚举值 | |
|---|---|
| Pending | |
| Ready | |
在文件 CollapseDust.h 第 38 行定义.
◆ DustFogRequest
|
strong |
◆ FieldRegionKind
|
strong |
Spatial support; RectangleXY ignores Z, Box is axis-aligned in world space.
| 枚举值 | |
|---|---|
| Sphere | |
| RectangleXY | |
| Box | |
| Global | |
在文件 ForceModels.h 第 17 行定义.
◆ ForceStepStatus
|
strong |
Completion of the world step to which a submitted force batch belongs.
| 枚举值 | |
|---|---|
| Pending | |
| Applied | |
| Cancelled | |
在文件 ForceReceipt.h 第 9 行定义.
◆ FractureMode
|
strong |
Fracture pattern used when cooking a geometry collection.
| 枚举值 | |
|---|---|
| UniformVoronoi | |
| ClusteredVoronoi | |
| Radial | |
| Planar | |
在文件 FractureRecipe.h 第 16 行定义.
◆ Joint2DKind
|
strong |
◆ JointKind3D
|
strong |
Stable constraint kinds; numeric values are used by stress events.
| 枚举值 | |
|---|---|
| Distance | |
| Revolute | |
| Prismatic | |
| Spherical | |
| Wheel | |
| Weld | |
| Motor | |
| Parallel | |
| Filter | |
在文件 JointBackend3D.h 第 13 行定义.
◆ RigidBackend3D
|
strong |
Solver identity fixed for the lifetime of one world; independent of CPU/GPU execution.
| 枚举值 | |
|---|---|
| Box3D | |
| Jolt | |
在文件 WorldBackend3D.h 第 11 行定义.
◆ RigidTrackSpace
|
strong |
Explicit sample coordinates; planar pixels preserve the producer's XY axes without implicit Y flip.
| 枚举值 | |
|---|---|
| PlanarPixels | |
| Metres3D | |
在文件 RigidPoseTrack.h 第 13 行定义.
◆ RopeColliderChange
|
strong |
◆ RopeTopologyChange
|
strong |
◆ ShapeKind3D
|
strong |
Geometry kinds supported by the rigid shape contract.
| 枚举值 | |
|---|---|
| Box | |
| Sphere | |
| Capsule | |
| ConvexHull | |
| TriangleMesh | |
| HeightField | |
在文件 ShapeBackend3D.h 第 11 行定义.
◆ SimulationBackendDomain
|
strong |
Domain state consumed by an accelerator provider.
| 枚举值 | |
|---|---|
| World2D | |
| World3D | |
| Cloth2D | |
| Cloth3D | |
| Rope3D | |
| SoftBody3D | |
| SurfaceFluid | |
在文件 SimulationBackend.h 第 39 行定义.
◆ SimulationBackendKind
|
strong |
Kind of implementation that owns a simulation step.
Gpu is reserved for a real accelerator provider. MockAccelerator is a provider used by contract tests and headless integrations; it deliberately has no graphics or device dependency.
| 枚举值 | |
|---|---|
| Cpu | |
| Gpu | |
| MockAccelerator | |
在文件 SimulationBackend.h 第 32 行定义.
◆ SimulationDeterminism
|
strong |
Determinism guarantee made by a simulation backend.
在文件 SimulationBackend.h 第 64 行定义.
◆ SoftBodySurfaceSampling
|
strong |
◆ SoftBodyVolumeSampling
|
strong |
函数说明
◆ advanceTerrainLoadGravity()
| EVENGINE_API_WORLD Result< bool > eve::physics::advanceTerrainLoadGravity | ( | TerrainLoadGravityState * | state, |
| Body3D * | body, | ||
| bool | terrainLoaded, | ||
| float | deltaSeconds, | ||
| float | activationDelay | ||
| ) |
Advance terrain-load waiting and restore gravity after the configured delay.
- 参数
-
state State initialized by beginTerrainLoadGravity. body The same live caller-owned body supplied at begin. terrainLoaded Current regular terrain load state. deltaSeconds Injected finite non-negative frame duration. activationDelay Finite non-negative delay after the first loaded observation.
- 返回
- True exactly once when gravity is restored and caller-owned components should activate. @ownership State and body remain caller-owned and are not retained. @thread Physics simulation owner thread only; no callbacks are invoked.
在文件 TerrainLoadGravity.cpp 第 28 行定义.
◆ applyForceSI() [1/2]
| EVENGINE_API_WORLD Result< void > eve::physics::applyForceSI | ( | Body & | body, |
| ForceVector | force, | ||
| ForceVector | point | ||
| ) |
Apply an SI force to a 2D body at an SI world point, converting through its world meter. @ownership Body is borrowed synchronously, never retained; world owns its lifetime. @thread Simulation owner thread, before step, outside callbacks; no reentry or callbacks.
- 返回
- InvalidArgument for non-planar/invalid values or inactive/non-dynamic body; stale body rejected.
在文件 ForceApplication.cpp 第 17 行定义.
引用了 body, eve::Diagnostic::error(), eve::Result< T >::failure(), force, eve::physics::force_detail::isPositive(), point, scale, eve::StaleHandle, eve::Result< T >::success(), eve::physics::ForceVector::x, eve::physics::ForceVector::y , 以及 eve::physics::ForceVector::z.
◆ applyForceSI() [2/2]
| EVENGINE_API_WORLD Result< void > eve::physics::applyForceSI | ( | Body3D & | body, |
| ForceVector | force, | ||
| ForceVector | point | ||
| ) |
Apply an SI force to a 3D body at an SI world point. @ownership Body is borrowed synchronously, never retained; world owns its lifetime. @thread Simulation owner thread, before step, outside callbacks; no reentry or callbacks.
- 返回
- InvalidArgument for invalid values or inactive/non-dynamic body; stale body rejected.
在文件 ForceApplication.cpp 第 29 行定义.
引用了 body, eve::Diagnostic::error(), eve::Result< T >::failure(), force, point, eve::StaleHandle, eve::Result< T >::success(), eve::physics::ForceVector::x, eve::physics::ForceVector::y , 以及 eve::physics::ForceVector::z.
◆ bakedAssetContentKey()
| EVENGINE_API_BACKENDS std::string eve::physics::bakedAssetContentKey | ( | std::string_view | source | ) |
Stable noncryptographic 128-bit content digest, encoded as 32 lowercase hexadecimal bytes. @ownership Borrows bytes only for this call; returns owning text. Reentrant, no callbacks. @cost Linear in bytes, for asset preparation/integrity checks outside sampling.
在文件 BakedAssetFile.cpp 第 14 行定义.
被这些函数引用 eve::physics::CollapseAnimation::contentKey(), eve::physics::BakeRecipe::key(), eve::physics::DeformTrack::load(), eve::physics::ParticleTrack::load(), eve::physics::RigidPoseTrack::load(), eve::physics::DeformTopology::prepare(), eve::physics::DeformTrack::save(), eve::physics::ParticleTrack::save(), eve::physics::RigidPoseTrack::save(), eve::physics::BakeRecipe::setParameters() , 以及 eve::physics::BakeRecipe::setSource().
◆ beginTerrainLoadGravity()
| EVENGINE_API_WORLD Result< void > eve::physics::beginTerrainLoadGravity | ( | TerrainLoadGravityState * | state, |
| Body3D * | body, | ||
| bool | terrainFound | ||
| ) |
Begin monitoring a body when a containing terrain scene exists.
- 参数
-
state Required caller-owned state, initialized exactly once. body Required caller-owned dynamic body. terrainFound Whether the caller found a terrain scene containing the body.
- 返回
- Success, or InvalidArgument before mutation. @ownership State and body remain caller-owned and are not retained. @thread Physics simulation owner thread only.
在文件 TerrainLoadGravity.cpp 第 10 行定义.
◆ cameraObstructionQuery()
| EVENGINE_API_WORLD eve::ICameraObstructionQuery & eve::physics::cameraObstructionQuery | ( | ) |
Borrow the process-owned camera query on the simulation thread; lifetime is process-wide.
在文件 PhysicsWorldQueries.cpp 第 90 行定义.
被这些函数引用 registerPhysicsCapabilities().
◆ captureDeformFrame() [1/2]
| EVENGINE_API_DOMAINS Result< DeformFrame > eve::physics::captureDeformFrame | ( | const Cloth3D & | source, |
| float | seconds | ||
| ) |
Copy a complete owning deformation frame; source-owner thread outside stepping. @ownership Borrows source only during this call; returned positions/connectivity outlive it. @cost Linear in particles and connectivity per recording sample, with allocation.
- 返回
- Snapshot or invalid time/position/connectivity diagnostic; source is unchanged.
在文件 Cloth3DBakeCapture.cpp 第 5 行定义.
引用了 eve::physics::bake_detail::captureDeformSource(), source , 以及 Triangles.
◆ captureDeformFrame() [2/2]
| EVENGINE_API_DOMAINS Result< DeformFrame > eve::physics::captureDeformFrame | ( | const Rope3D & | source, |
| float | seconds | ||
| ) |
Copy a complete owning deformation frame; source-owner thread outside stepping. @ownership Borrows source only during this call; returned positions/connectivity outlive it. @cost Linear in particles and connectivity per recording sample, with allocation.
- 返回
- Snapshot or invalid time/position/connectivity diagnostic; source is unchanged.
在文件 Rope3DBakeCapture.cpp 第 5 行定义.
引用了 eve::physics::bake_detail::captureDeformSource(), Segments , 以及 source.
◆ captureRigidFrame() [1/2]
| EVENGINE_API_WORLD Result< RigidTrackFrame > eve::physics::captureRigidFrame | ( | const World & | world, |
| std::span< const RigidBakeBinding > | bindings, | ||
| float | seconds | ||
| ) |
Copy one owning frame from 2D bodies using pixel XY and an angle-derived Z quaternion. @ownership Borrows the world and bindings only during this call; returns no pointers or runtime handles. @thread Call on the world owner thread, outside stepping/callbacks; no callbacks or world mutation. @cost Linear in bodies plus identity validation sorting, once per recorded sample outside playback.
- 返回
- Complete frame or checked stale/foreign/duplicate binding failure, with no partial frame exposed. Time is explicit, finite and nonnegative. RigidPoseTrack::prepare validates the final temporal roster.
在文件 RigidBakeCapture.cpp 第 29 行定义.
引用了 binding, bindings, body, eve::Diagnostic::error(), eve::Result< T >::failure(), frame, eve::physics::RigidTrackFrame::samples, eve::StaleHandle, eve::Result< T >::success() , 以及 valid.
◆ captureRigidFrame() [2/2]
| EVENGINE_API_WORLD Result< RigidTrackFrame > eve::physics::captureRigidFrame | ( | const World3D & | world, |
| std::span< const RigidBakeBinding > | bindings, | ||
| float | seconds | ||
| ) |
Copy one owning frame from 3D bodies using metres and XYZW rotations. @ownership Borrows the world and bindings for this call only; returned values survive world destruction. @thread World owner thread outside stepping/callbacks. No callbacks or world mutation. @cost Linear in bodies plus identity validation sorting, once per recorded sample outside playback.
- 返回
- Complete frame or checked stale/foreign/duplicate binding failure. Final recording admission is performed by RigidPoseTrack::prepare; no simulation time, RNG or world step is generated here.
在文件 RigidBakeCapture.cpp 第 48 行定义.
引用了 binding, bindings, body, eve::Diagnostic::error(), eve::Result< T >::failure(), frame, eve::physics::RigidTrackFrame::samples, eve::StaleHandle, eve::Result< T >::success() , 以及 valid.
◆ copyScriptBakeRecipe()
| EVENGINE_API_BACKENDS Result< BakeRecipe > eve::physics::copyScriptBakeRecipe | ( | const ssq::Object & | object | ) |
Copy a type-checked VM recipe for a recording admission. @ownership Borrows the rooted object only during the call; returned recipe owns all metadata. @thread VM owner thread, no callbacks or retained VM references. @cost Linear in bounded recipe metadata, once per recording admission.
- 返回
- Owning recipe or checked wrong-type/null/allocation diagnostic.
在文件 PhysicsBake.cpp 第 298 行定义.
引用了 copyScriptBakeRecipe() , 以及 recipe.
被这些函数引用 copyScriptBakeRecipe().
◆ distanceFieldFromSdfField3DBlob()
| EVENGINE_API_WORLD Result< DistanceField3D > eve::physics::distanceFieldFromSdfField3DBlob | ( | const SdfField3DBlob & | blob | ) |
Build a DistanceField3D from a portable VertexGrid blob. @cost Allocates the destination grid and copies every sample once.
在文件 DistanceField3DSdf.cpp 第 85 行定义.
引用了 blob, error, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::Status::failure(), eve::physics::snapshot_detail::field(), eve::physics::force_detail::invalid(), eve::InvalidArgument, eve::Result< T >::success(), valid, eve::validateSdfField3DBlob() , 以及 eve::VertexGrid.
◆ exposeCollapseAnimation()
| void eve::physics::exposeCollapseAnimation | ( | ssq::Table & | table | ) |
Register owning animation and sampled pose script types in the destruction VM module.
在文件 CollapseAnimationBindings.cpp 第 20 行定义.
引用了 eve::physics::CollapseAnimation::beginBake(), eve::physics::CollapseAnimation::boneCount(), eve::physics::CollapseAnimation::capture(), Clamp, clip, eve::physics::CollapseAnimation::contentKey(), eve::physics::CollapseAnimation::duration(), eve::Diagnostic::error(), exposeCollapseBakeRecipe(), eve::physics::CollapseAnimation::frameCount(), eve::InvalidArgument, eve::physics::CollapseAnimation::load(), loaded, eve::physics::CollapseAnimation::loadForRecipe(), loop, Loop, path, eve::physics::CollapsePlayback::prepare(), eve::script::projectResult(), qw, qx, qy, qz, rate, recipe, eve::physics::CollapseAnimation::save(), source, vm, x, y , 以及 z.
◆ exposeCollapseBakeRecipe()
| void eve::physics::exposeCollapseBakeRecipe | ( | ssq::Table & | table | ) |
Register the owning recipe builder and checked script admission methods.
在文件 CollapseBakeRecipeBindings.cpp 第 8 行定义.
引用了 bytes, eve::physics::collapse_detail::invalid(), key, eve::physics::BakeRecipe::key(), name, eve::script::projectResult(), recipe, revision, seed, eve::physics::BakeRecipe::setBackend(), eve::physics::BakeRecipe::setParameters(), eve::physics::BakeRecipe::setProducer(), eve::physics::BakeRecipe::setRandomStream(), eve::physics::BakeRecipe::setSource(), eve::physics::BakeRecipe::setTiming() , 以及 vm.
被这些函数引用 exposeCollapseAnimation().
◆ exposeCoupling3DBindings()
| EVENGINE_API_WORLD void eve::physics::exposeCoupling3DBindings | ( | ssq::Table & | table | ) |
◆ exposeForceBindings()
| EVENGINE_API_WORLD void eve::physics::exposeForceBindings | ( | ssq::Table & | table | ) |
Register force model value classes and Result-projected functions. @ownership Table is borrowed for registration only; VM owns registered classes. @thread VM owner thread only; does not invoke user callbacks.
在文件 ForceBindings.cpp 第 352 行定义.
引用了 angular, Applied, center, dt, height, inertia, model, Pending, position, eve::script::projectResult(), eve::script::projectStatusResult(), radius, size, status, eve::Status::success(), thickness, tick, velocity, vm, w , 以及 width.
◆ exposeJoint2DBindings()
| EVENGINE_API_WORLD void eve::physics::exposeJoint2DBindings | ( | ssq::Table & | table | ) |
Register owning Joint2D Result factories; borrows table during this call on the VM owner thread only.
在文件 Joint2DBindings.cpp 第 133 行定义.
引用了 exposeJoint2DBindings(), point, reference, settings , 以及 vm.
被这些函数引用 exposeJoint2DBindings().
◆ Module_IMPL() [1/6]
| eve::physics::Module_IMPL | ( | Destruction | , |
| new | Destruction() | ||
| ) |
◆ Module_IMPL() [2/6]
| eve::physics::Module_IMPL | ( | DestructionDust | , |
| new | DestructionDust() | ||
| ) |
◆ Module_IMPL() [3/6]
| eve::physics::Module_IMPL | ( | DestructionFx | , |
| new | DestructionFx() | ||
| ) |
◆ Module_IMPL() [4/6]
| eve::physics::Module_IMPL | ( | Physics | , |
| new | Physics() | ||
| ) |
◆ Module_IMPL() [5/6]
| eve::physics::Module_IMPL | ( | PhysicsBakeGraphics | , |
| new | PhysicsBakeGraphics() | ||
| ) |
◆ Module_IMPL() [6/6]
| eve::physics::Module_IMPL | ( | Rope | , |
| new | Rope() | ||
| ) |
◆ operator<<() [1/2]
|
inline |
Writes a backend kind for diagnostics.
Simulation backend kind name.
在文件 SimulationBackend.h 第 94 行定义.
引用了 kind , 以及 simulationBackendKindName().
◆ operator<<() [2/2]
|
inline |
Writes a determinism contract for diagnostics.
Simulation determinism name.
在文件 SimulationBackend.h 第 100 行定义.
◆ physicsArtifactProvider()
|
noexcept |
Return the process-owned physics artifact provider singleton.
在文件 ArtifactProvider.cpp 第 605 行定义.
引用了 provider.
被这些函数引用 eve::scene_physics::ScenePhysics::bindGeneratedColliders(), eve::scene_physics::ScenePhysics::boundWorld(), registerPhysicsArtifactProvider() , 以及 eve::scene_physics::ScenePhysics::unbindGeneratedColliders().
◆ procgenWorldQuery()
| EVENGINE_API_WORLD eve::IProcgenWorldQuery & eve::physics::procgenWorldQuery | ( | ) |
Borrow the process-owned terrain projection query; no world ownership is transferred.
在文件 PhysicsWorldQueries.cpp 第 92 行定义.
被这些函数引用 registerPhysicsCapabilities().
◆ projectSweepContactImpulse()
| EVENGINE_API_WORLD ssq::Table eve::physics::projectSweepContactImpulse | ( | World3D * | world, |
| const ssq::Object & | event, | ||
| PhysicsVector3D | impulse, | ||
| PhysicsVector3D | point | ||
| ) |
Project an explicit contact impulse through the canonical script Result boundary.
- 参数
-
world Borrowed nullable script receiver; used only during this call, never retained. event Borrowed contact event; its VM owns the returned table, and must outlive the call. impulse Owning world-space impulse in N s. point Owning world-space application point in meters. @thread VM/physics owner only; no callbacks or reentrancy.
- 返回
- Owning VM table describing the same checked native operation, including null-receiver failure.
在文件 WorldSphereSweepScript.cpp 第 46 行定义.
引用了 eve::Diagnostic::error(), impulse, eve::InvalidArgument, point, eve::script::projectResult() , 以及 vm.
◆ publishBakedAsset()
| EVENGINE_API_BACKENDS Result< void > eve::physics::publishBakedAsset | ( | std::string_view | path, |
| std::string_view | bytes | ||
| ) |
Publish complete baked asset bytes atomically without replacing an existing path. @ownership Borrows path and bytes only during this synchronous call; retains neither. @thread Concurrent writers are supported; exactly one can publish a given new path. No callbacks. @cost Linear in bytes plus filesystem durability barriers, once per baked asset outside the frame loop.
- 返回
- Checked IO status; unsupported hard links fail explicitly. Linux requires O_TMPFILE support and /proc/self/fd links, syncs anonymous data before publication and its parent directory afterwards. Unsupported anonymous staging returns Unsupported; no named staging degradation is attempted. Other platforms currently guarantee atomic visibility only. A barrier failure reports publication=not_published or published and durability=unconfirmed in details. Published failures retain the complete target; callers must inspect it before retrying. Existing targets are never removed. Linux anonymous staging is reclaimed on process exit, including abrupt interruption. Other platforms may leave private staging directories; older staging directories are never auto-deleted.
在文件 BakedAssetFile.cpp 第 64 行定义.
引用了 bytes, code, eve::Conflict, count, directory, error, eve::Diagnostic::error(), eve::Failed, eve::Result< T >::failure(), file, eve::InvalidArgument, name, offset, parent, path, sequence, source, eve::Result< T >::success(), target, eve::Unsupported , 以及 write.
被这些函数引用 eve::physics::CollapseAnimation::save(), eve::physics::DeformTrack::save(), eve::physics::ParticleTrack::save(), eve::physics::RigidPoseTrack::save() , 以及 eve::physics::CollapseDust::save().
◆ registerCameraObstructionWorld()
| void eve::physics::registerCameraObstructionWorld | ( | World3D * | world | ) |
Registers camera obstruction world.
在文件 PhysicsWorldQueries.cpp 第 97 行定义.
◆ registerPhysicsArtifactProvider()
| EVENGINE_API_WORLD void eve::physics::registerPhysicsArtifactProvider | ( | ) |
Register the physics provider in the common capability registry.
Registers the backend-neutral generated-artifact collider provider.
在文件 ArtifactProvider.cpp 第 610 行定义.
引用了 physicsArtifactProvider().
被这些函数引用 registerPhysicsCapabilities().
◆ registerPhysicsCapabilities()
| void eve::physics::registerPhysicsCapabilities | ( | ) |
Registers physics capabilities.
在文件 PhysicsCapabilities.cpp 第 82 行定义.
引用了 cameraObstructionQuery(), eve::sensing::ensureLineOfSightRouter(), impl, procgenWorldQuery(), registerPhysicsArtifactProvider(), targetingLineOfSightAdapter(), eve::sensing::World3D , 以及 worldSphereSweepFactory().
被这些函数引用 eve::physics::Physics::Physics().
◆ registerTargetingLineOfSightWorld()
| eve::Result< void > eve::physics::registerTargetingLineOfSightWorld | ( | World3D * | world | ) |
Registers a borrowed live World3D with the targeting LOS adapter.
- 参数
-
world Non-null live World3D. Its lifetime is tracked weakly.
- 返回
- Applied, NoOp for the same world, Conflict for another active world, or a structured failure for an invalid world.
- 注解
- Synchronous simulation-thread operation.
在文件 PhysicsWorldQueries.cpp 第 100 行定义.
◆ sdfField3DBlobFromDistanceField()
| EVENGINE_API_WORLD Result< SdfField3DBlob > eve::physics::sdfField3DBlobFromDistanceField | ( | const DistanceField3D & | field | ) |
Copy a DistanceField3D into the portable VertexGrid blob. @cost Copies every distance sample once.
在文件 DistanceField3DSdf.cpp 第 64 行定义.
引用了 blob, eve::Result< T >::failure(), eve::physics::snapshot_detail::field(), eve::SdfField3DBlob::kind, eve::Result< T >::success(), valid, eve::validateSdfField3DBlob(), eve::VertexGrid, x, y , 以及 z.
◆ simulationBackendDomainName()
|
constexprnoexcept |
Returns the stable diagnostic spelling for an accelerated simulation domain.
在文件 SimulationBackend.h 第 50 行定义.
引用了 Cloth2D, Cloth3D, domain, Rope3D, SoftBody3D, SurfaceFluid, World2D , 以及 World3D.
◆ simulationBackendKindName()
|
constexprnoexcept |
Returns the stable backend-kind spelling.
在文件 SimulationBackend.h 第 74 行定义.
引用了 Cpu, Gpu, kind , 以及 MockAccelerator.
被这些函数引用 operator<<().
◆ simulationDeterminismName()
|
constexprnoexcept |
Returns the stable determinism-contract spelling.
在文件 SimulationBackend.h 第 84 行定义.
引用了 BitExact, ExplicitlyNondeterministic , 以及 ToleranceBounded.
被这些函数引用 operator<<().
◆ submitRigidPlayback() [1/2]
| EVENGINE_API_WORLD Result< void > eve::physics::submitRigidPlayback | ( | const RigidPlayback & | player, |
| PersistentId | identity, | ||
| graphics::Renderable2D & | target | ||
| ) |
Submit planar pixel playback to a live 2D renderer, converting quaternion rotation to degrees. @ownership Borrows both objects only during the call; no persistent link or callback. @lifetime Caller resolves a live target each call; either object may be destroyed after return. @thread ECS/render owner thread, excluding other transform writers.
- 返回
- Success or invalid space/identity/sample. Failure preserves the target; scale and sprite remain unchanged.
- 备注
- Coordinates keep their recorded XY axes; shortest rotation does not reconstruct multiple turns.
在文件 RigidBakePresentation.cpp 第 35 行定义.
引用了 degrees, eve::Diagnostic::error(), eve::Result< T >::failure(), identity, eve::InvalidArgument, PlanarPixels, pose, eve::physics::RigidPlayback::sample(), eve::physics::RigidPoseTrack::space(), eve::Result< T >::success(), target , 以及 eve::physics::RigidPlayback::track().
◆ submitRigidPlayback() [2/2]
| EVENGINE_API_WORLD Result< void > eve::physics::submitRigidPlayback | ( | const RigidPlayback & | player, |
| PersistentId | identity, | ||
| graphics::Renderable3D & | target | ||
| ) |
Sample a metre-space rigid player into a live renderer's world matrix, preserving mesh scale. @ownership Borrows player and target only during this call; retains no pointers, handles or callbacks. @lifetime Caller must resolve a live target each call. Either object may be destroyed after return. @thread ECS/render owner thread, outside concurrent mutation; caller must exclude other transform writers.
- 返回
- Success or invalid space, missing identity or nonrepresentable transform; failure preserves target.
- 备注
- No physics step, entity creation, GPU upload, time advance or Scene link is performed. Direct renderer TRS setters subsequently replace the submitted matrix. Rebinding after restore is caller-owned.
在文件 RigidBakePresentation.cpp 第 11 行定义.
引用了 column, eve::Diagnostic::error(), eve::Result< T >::failure(), identity, eve::InvalidArgument, matrix, Metres3D, pose, eve::physics::RigidPlayback::sample(), eve::physics::RigidPoseTrack::space(), eve::Result< T >::success(), target , 以及 eve::physics::RigidPlayback::track().
◆ targetingLineOfSightAdapter()
| EVENGINE_API_WORLD TargetingLineOfSightAdapter & eve::physics::targetingLineOfSightAdapter | ( | ) |
Borrow the process-owned LOS adapter on the simulation thread; worlds are weakly observed.
在文件 PhysicsWorldQueries.cpp 第 91 行定义.
被这些函数引用 registerPhysicsCapabilities().
◆ worldSphereSweepFactory()
| EVENGINE_API_WORLD IWorldSphereSweepFactory & eve::physics::worldSphereSweepFactory | ( | ) |
Borrow the process-owned optional sweep factory on the simulation thread.
在文件 WorldSphereSweep.cpp 第 75 行定义.
被这些函数引用 registerPhysicsCapabilities().