载入中...
搜索中...
未找到
HeightmapMesh.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
6
7namespace eve::graphics {
8class Graphics;
9class Mesh;
10}
11namespace eve::procgen {
12class Heightmap;
13}
14
16
26[[nodiscard]] EVENGINE_API_ORCHESTRATION editing::Result<graphics::Mesh*> createHeightmapMesh(
27 procgen::Heightmap* heightmap, float cellSize, float heightScale, bool smoothNormals);
39[[nodiscard]] EVENGINE_API_ORCHESTRATION editing::Result<void> updateHeightmapMesh(graphics::Mesh* mesh,
40 graphics::Graphics* graphics,
41 procgen::Heightmap* heightmap,
42 float cellSize, float heightScale,
43 bool smoothNormals);
44
45} // namespace eve::procgen_graphics_editing
#define EVENGINE_API_ORCHESTRATION
Definition Export.h:111
Mesh * mesh
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
editing::Result< graphics::Mesh * > createHeightmapMesh(procgen::Heightmap *heightmap, float cellSize, float heightScale, bool smoothNormals)
Build a heightmap preview mesh through the linked Graphics module.
editing::Result< void > updateHeightmapMesh(graphics::Mesh *mesh, graphics::Graphics *graphics, procgen::Heightmap *heightmap, float cellSize, float heightScale, bool smoothNormals)
Update preview vertices without replacing the mesh identity.