载入中...
搜索中...
未找到
DeformMeshPresentation.h
浏览该文件的文档.
1#pragma once
2#include <memory>
3#include "common/Export.h"
4#include "common/Result.h"
5namespace eve::graphics {
6class Graphics;
7class Mesh;
8} // namespace eve::graphics
9namespace eve::physics {
10class DeformTrack;
11class DeformPlayback;
18public:
24 [[nodiscard]] static Result<std::unique_ptr<DeformMeshPresentation>> prepare(DeformTrack track, float ropeRadius);
35 [[nodiscard]] Result<graphics::Mesh*> createMesh(DeformPlayback& player, graphics::Graphics& graphics);
43
44private:
45 struct Impl;
46 explicit DeformMeshPresentation(std::unique_ptr<Impl> impl);
47 [[nodiscard]] Result<void> rebuild(DeformPlayback& player);
48 std::unique_ptr<Impl> impl_;
49};
50} // namespace eve::physics
void * impl
#define EVENGINE_API_WORLD
Definition Export.h:109
OceanMeshSettings mesh
Move-only, checked operation results for the common layer.
Graphics * graphics
Move-only operation result carrying either a value or Status.
Definition Result.h:176
GPU mesh handle (+ optional CPU morph targets).
Definition Mesh.h:26
Prepared dynamic mesh presentation over an owned deformation player. @ownership Owns immutable asset ...
DeformMeshPresentation & operator=(const DeformMeshPresentation &)=delete
DeformMeshPresentation(const DeformMeshPresentation &)=delete
Independent clock and placement over a shared immutable deformation clip. @ownership Owns reusable sc...
Immutable fixed-topology deformation clip, independent of simulation and rendering providers....
Definition DeformTrack.h:25
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Optional physics backend for vehicle mobility and body attach.
Definition Climbing.h:36