载入中...
搜索中...
未找到
SpriteStack.h 文件参考
#include "common/Export.h"
#include "common/Module.h"
#include <cstdint>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::spritestack::SliceInput
 CPU triangle-mesh input used to bake horizontal RGBA sprite slices. 更多...
 
struct  eve::spritestack::SliceOptions
 Options for baking a mesh into equal-sized RGBA sprite layers. 更多...
 
class  eve::spritestack::SpriteStack2D
 Pure-2D sprite stack made from horizontal RGBA cross-sections. 更多...
 
class  eve::spritestack::SpriteStackBatch
 Collection of 2D stacks; Graphics performs texture batching. 更多...
 
class  eve::spritestack::SpriteStack
 SpriteStack module: horizontal slice baking plus pure-2D rendering. 更多...
 

命名空间

namespace  ssq
 EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
 
namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 
namespace  eve::image
 
namespace  eve::model3d
 
namespace  eve::spritestack
 

函数

std::vector< image::ImageData * > eve::spritestack::sliceMeshToLayers (const SliceInput &, const SliceOptions &)
 Slice mesh to layers.
 
EVENGINE_API_WORLD std::vector< image::ImageData * > eve::spritestack::sliceModelToLayers (model3d::ModelData *, const SliceOptions &)
 Assimp-backed bake; compiled only when the model3d module is linked.
 
std::vector< image::ImageData * > eve::spritestack::slicePrimitiveToLayers (const std::string &, const SliceOptions &)
 Slice primitive to layers.
 
void eve::spritestack::exposeSpriteStackModelBindings (ssq::Class &cls)
 Register sliceModel when SpriteStackModel.cpp is linked (model3d on).