载入中...
搜索中...
未找到
eve::spritestack::SliceOptions结构体 参考

Slicer options. The mesh is cut into layerCount thin slabs along axis ("x" | "y" | "z"); each slab is orthographically projected into an RGBA image. Slab thickness defaults to AABB extent / layerCount when 0. 更多...

#include <SpriteStack.h>

Public 属性

int layerCount = 16
 
int imageW = 128
 
int imageH = 128
 
std::string axis = "z"
 
float thickness = 0.f
 
float padding = 0.04f
 
bool shade = true
 
float tintR = 1.f
 
float tintG = 1.f
 
float tintB = 1.f
 

详细描述

Slicer options. The mesh is cut into layerCount thin slabs along axis ("x" | "y" | "z"); each slab is orthographically projected into an RGBA image. Slab thickness defaults to AABB extent / layerCount when 0.

在文件 SpriteStack.h52 行定义.

类成员变量说明

◆ axis

std::string eve::spritestack::SliceOptions::axis = "z"

◆ imageH

int eve::spritestack::SliceOptions::imageH = 128

◆ imageW

int eve::spritestack::SliceOptions::imageW = 128

◆ layerCount

int eve::spritestack::SliceOptions::layerCount = 16

◆ padding

float eve::spritestack::SliceOptions::padding = 0.04f

在文件 SpriteStack.h58 行定义.

◆ shade

bool eve::spritestack::SliceOptions::shade = true

在文件 SpriteStack.h59 行定义.

◆ thickness

float eve::spritestack::SliceOptions::thickness = 0.f

◆ tintB

float eve::spritestack::SliceOptions::tintB = 1.f

在文件 SpriteStack.h62 行定义.

◆ tintG

float eve::spritestack::SliceOptions::tintG = 1.f

在文件 SpriteStack.h61 行定义.

◆ tintR

float eve::spritestack::SliceOptions::tintR = 1.f

在文件 SpriteStack.h60 行定义.


该结构体的文档由以下文件生成: