Options for baking a mesh into equal-sized RGBA sprite layers. 更多...
#include <SpriteStack.h>
Public 属性 | |
| int | layerCount = 16 |
| int | imageW = 128 |
| int | imageH = 128 |
| std::string | axis = "y" |
| float | thickness = 0.f |
| float | padding = 0.04f |
| bool | shade = true |
| float | tintR = 1.f |
| float | tintG = 1.f |
| float | tintB = 1.f |
详细描述
Options for baking a mesh into equal-sized RGBA sprite layers.
在文件 SpriteStack.h 第 36 行定义.
类成员变量说明
◆ axis
| std::string eve::spritestack::SliceOptions::axis = "y" |
◆ imageH
| int eve::spritestack::SliceOptions::imageH = 128 |
在文件 SpriteStack.h 第 39 行定义.
被这些函数引用 eve::spritestack_editing::SpriteStackDocumentTarget::read().
◆ imageW
| int eve::spritestack::SliceOptions::imageW = 128 |
在文件 SpriteStack.h 第 38 行定义.
被这些函数引用 eve::spritestack_editing::SpriteStackDocumentTarget::read().
◆ layerCount
| int eve::spritestack::SliceOptions::layerCount = 16 |
在文件 SpriteStack.h 第 37 行定义.
被这些函数引用 eve::spritestack_editing::SpriteStackBakeRuntime::bake(), eve::spritestack_editing::SpriteStackDocumentTarget::makeSet(), eve::spritestack_editing::SpriteStackDocumentTarget::read(), eve::spritestack::SpriteStack::sliceModel() , 以及 eve::spritestack::SpriteStack::slicePrimitive().
◆ padding
| float eve::spritestack::SliceOptions::padding = 0.04f |
在文件 SpriteStack.h 第 42 行定义.
被这些函数引用 eve::spritestack_editing::SpriteStackDocumentTarget::read().
◆ shade
| bool eve::spritestack::SliceOptions::shade = true |
在文件 SpriteStack.h 第 43 行定义.
被这些函数引用 eve::spritestack_editing::SpriteStackDocumentTarget::read().
◆ thickness
| float eve::spritestack::SliceOptions::thickness = 0.f |
◆ tintB
| float eve::spritestack::SliceOptions::tintB = 1.f |
在文件 SpriteStack.h 第 44 行定义.
◆ tintG
| float eve::spritestack::SliceOptions::tintG = 1.f |
在文件 SpriteStack.h 第 44 行定义.
◆ tintR
| float eve::spritestack::SliceOptions::tintR = 1.f |
该结构体的文档由以下文件生成:
- src/modules/spritestack/SpriteStack.h