载入中...
搜索中...
未找到
InspectionPlan.h
浏览该文件的文档.
1#pragma once
2
3#include <array>
4#include <cstdint>
5#include <glm/glm.hpp>
6#include <vector>
7#include "common/Result.h"
8
9namespace eve::graphics {
12 glm::vec3 minimum{0.f}, maximum{0.f};
13};
16 glm::mat4 view{1.f}, projection{1.f};
17 uint32_t width = 512, height = 512;
18};
21 std::array<InspectionCamera, 4> cameras;
22 glm::vec3 center{0.f};
23 float worldUnitsPerPixel = 0.f;
24};
37 const InspectionCamera& camera,
38 uint32_t cellWidth, uint32_t cellHeight,
39 float padding);
40
42enum class InspectionLoop { Once, Repeat };
45 double timelineTime = 0., clipTime = 0.;
46};
61 double end, double fps,
62 double duration,
64} // namespace eve::graphics
Duration start
float duration
#define EVENGINE_API_BACKENDS
Definition Export.h:108
Move-only, checked operation results for the common layer.
size_t end
Move-only operation result carrying either a value or Status.
Definition Result.h:176
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
InspectionLoop
Explicit clip-end behavior; loop wraps exact duration to time zero.
Result< std::vector< InspectionSample > > planInspectionSamples(double start, double end, double fps, double duration, InspectionLoop loop)
Result< InspectionViews > planInspectionViews(const InspectionBounds &bounds, const InspectionCamera &camera, uint32_t cellWidth, uint32_t cellHeight, float padding)
World-space bounds, supplied from one frozen pose or a union of sampled poses.
Owning camera value snapshot; matrices use engine RH, zero-to-one, Y-down clip space.
A requested timeline time and its independent clip evaluation time, in seconds.
Row-major front (+Z), right (+X), top (+Y), and unchanged game camera.
std::array< InspectionCamera, 4 > cameras
glm::vec4 bounds