载入中...
搜索中...
未找到
GeometryCollectionInstance.h
浏览该文件的文档.
103 World3D& world, const GeometryCollectionAsset& asset, const FractureGeometry& geometry, float originX,
109 [[nodiscard]] std::shared_ptr<const FractureGeometry> fragmentGeometry() const noexcept override;
129 [[nodiscard("check geometry-collection step")]] eve::Result<DestructionStepReceipt> step(SimulationStep step);
131 [[nodiscard]] int boneCount() const noexcept override { return static_cast<int>(bones_.size()); }
138 [[nodiscard]] int detachEventCount() const noexcept { return static_cast<int>(detachEvents_.size()); }
146 [[nodiscard]] int pendingEdgeBreakCount() const noexcept { return static_cast<int>(pendingEdgeBreaks_.size()); }
149 [[nodiscard("check bone physics-link resolution")]] eve::Result<PhysicsLink> boneLink(int boneIndex) const;
180 World3D& world, const GeometryCollectionAsset& asset, std::shared_ptr<const FractureGeometry> geometry,
Typed composition link from a gameplay entity to a physics body.
Move-only, checked operation results for the common layer.
Common time values and an injectable deterministic simulation clock.
Read-only source protocol for one atomic offline collapse sample. @ownership The caller owns the sour...
Definition CollapseCaptureSource.h:15
Runtime owner of bone state, connection strain, and PhysicsLink bindings.
Definition GeometryCollectionInstance.h:70
int detachEventCount() const noexcept
Definition GeometryCollectionInstance.h:138
std::uint64_t sleepBatchRevision() const noexcept
Monotonic revision bumped when any bone enters Sleeping (for batch rebuild).
Definition GeometryCollectionInstance.h:159
int boneCount() const noexcept override
Stable positive fragment count for this sample.
Definition GeometryCollectionInstance.h:131
GeometryCollectionInstance(const GeometryCollectionInstance &)=delete
int pendingEdgeBreakCount() const noexcept
Edges still waiting because of the break budget.
Definition GeometryCollectionInstance.h:146
int edgeCount() const noexcept
Definition GeometryCollectionInstance.h:132
int clusterBreakEventCount() const noexcept
Definition GeometryCollectionInstance.h:140
DestructionStepBudget stepBudget() const noexcept
Return the active per-step budgets.
Definition GeometryCollectionInstance.h:117
GeometryCollectionInstance & operator=(const GeometryCollectionInstance &)=delete
Box3D rigid-body world. Script coordinates are meters (Box3D native), unlike 2D World which uses pixe...
Definition World3D.h:47
BoneRuntimeState
Runtime lifecycle for one bone inside a geometry-collection instance.
Definition BonePresentation.h:7
Definition Container.h:602
One ordered detach event emitted during step.
Definition GeometryCollectionInstance.h:23
Emitted when a broken edge separates two different cook clusters.
Definition GeometryCollectionInstance.h:35
One volumetric influence applied to a geometry-collection instance.
Definition DestructionField.h:28
Per-step production budgets (0 = unlimited).
Definition GeometryCollectionInstance.h:49
Observable outcome of one checked step.
Definition GeometryCollectionInstance.h:55
Owning, typed mesh payload shared immutably by simulation, clip and renderer. @thread Read-only shari...
Definition FractureGeometry.h:19
Immutable cooked/authored geometry-collection asset.
Definition GeometryCollectionAsset.h:48
Persistent runtime snapshot for one geometry-collection instance.
Definition GeometryCollectionSnapshot.h:28
Generation-qualified relationship between one world and one body.
Definition PhysicsLink.h:35