载入中...
搜索中...
未找到
CollapseCaptureSource.h
浏览该文件的文档.
1#pragma once
2#include <memory>
3#include "common/Export.h"
4#include "common/Result.h"
6namespace eve::physics {
7struct FractureGeometry;
16public:
20 [[nodiscard]] virtual int boneCount() const noexcept = 0;
22 [[nodiscard]] virtual Result<BonePresentation> bonePresentation(int boneIndex) const = 0;
26 [[nodiscard]] virtual std::shared_ptr<const FractureGeometry> fragmentGeometry() const noexcept = 0;
27};
28} // namespace eve::physics
#define EVENGINE_API_BACKENDS
Definition Export.h:108
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Read-only source protocol for one atomic offline collapse sample. @ownership The caller owns the sour...
virtual int boneCount() const noexcept=0
Stable positive fragment count for this sample.
virtual ~CollapseCaptureSource()
Release the protocol object; does not transfer ownership to a recorder.
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36
Presentation snapshot for one bone (world pose + proxy extents).
Owning, typed mesh payload shared immutably by simulation, clip and renderer. @thread Read-only shari...