载入中...
搜索中...
未找到
eve::spritestack::SpriteStack类 参考

SpriteStack module: horizontal slice baking plus pure-2D rendering. 更多...

#include <SpriteStack.h>

类 eve::spritestack::SpriteStack 继承关系图:
eve::Module

Public 成员函数

 Module_REG (SpriteStack)
 
 SpriteStack ()=default
 Sprite stack.
 
 ~SpriteStack () override=default
 Sprite stack.
 
SpriteStack2D * newStack (graphics::Graphics *gfx)
 Creates a stack. @ownership Caller deletes unless documented otherwise.
 
SpriteStackBatch * newBatch (graphics::Graphics *gfx)
 Creates a batch. @ownership Caller deletes unless documented otherwise.
 
std::vector< image::ImageData * > slicePrimitive (const std::string &kind, int layerCount, int imageW, int imageH, const std::string &axis, float thickness)
 Slice primitive.
 
std::vector< image::ImageData * > sliceModel (model3d::ModelData *model, int layerCount, int imageW, int imageH, const std::string &axis, float thickness)
 Slice model.
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 

详细描述

SpriteStack module: horizontal slice baking plus pure-2D rendering.

在文件 SpriteStack.h 第 162 行定义.

构造及析构函数说明

◆ SpriteStack()

eve::spritestack::SpriteStack::SpriteStack ( )
default

Sprite stack.

◆ ~SpriteStack()

eve::spritestack::SpriteStack::~SpriteStack ( )
overridedefault

Sprite stack.

成员函数说明

◆ Module_REG()

eve::spritestack::SpriteStack::Module_REG ( SpriteStack  )

◆ newBatch()

SpriteStackBatch * eve::spritestack::SpriteStack::newBatch ( graphics::Graphics *  gfx)

Creates a batch. @ownership Caller deletes unless documented otherwise.

在文件 SpriteStack2D.cpp 第 198 行定义.

◆ newStack()

SpriteStack2D * eve::spritestack::SpriteStack::newStack ( graphics::Graphics *  gfx)

Creates a stack. @ownership Caller deletes unless documented otherwise.

在文件 SpriteStack2D.cpp 第 194 行定义.

◆ sliceModel()

std::vector< image::ImageData * > eve::spritestack::SpriteStack::sliceModel ( model3d::ModelData *  model,
int  layerCount,
int  imageW,
int  imageH,
const std::string &  axis,
float  thickness 
)

◆ slicePrimitive()

std::vector< image::ImageData * > eve::spritestack::SpriteStack::slicePrimitive ( const std::string &  kind,
int  layerCount,
int  imageW,
int  imageH,
const std::string &  axis,
float  thickness 
)

该类的文档由以下文件生成: