载入中...
搜索中...
未找到
CPU inputs for slicing a triangle mesh into sprite-stack layers. 更多...
#include <SpriteStack.h>
Public 属性 | |
| const float * | posXYZ = nullptr |
| const float * | nrmXYZ = nullptr |
| const float * | rgb = nullptr |
| int | vertexCount = 0 |
| const uint32_t * | indices = nullptr |
| int | indexCount = 0 |
详细描述
CPU inputs for slicing a triangle mesh into sprite-stack layers.
Positions are required (vertexCount * 3). Normals / per-vertex colors are optional; colors (0..1 RGB) are averaged per triangle, shaded by the face normal against the slice view direction, and multiplied by the tint.
在文件 SpriteStack.h 第 38 行定义.
类成员变量说明
◆ indexCount
| int eve::spritestack::SliceInput::indexCount = 0 |
在文件 SpriteStack.h 第 44 行定义.
◆ indices
| const uint32_t* eve::spritestack::SliceInput::indices = nullptr |
在文件 SpriteStack.h 第 43 行定义.
◆ nrmXYZ
| const float* eve::spritestack::SliceInput::nrmXYZ = nullptr |
在文件 SpriteStack.h 第 40 行定义.
◆ posXYZ
| const float* eve::spritestack::SliceInput::posXYZ = nullptr |
◆ rgb
| const float* eve::spritestack::SliceInput::rgb = nullptr |
在文件 SpriteStack.h 第 41 行定义.
◆ vertexCount
| int eve::spritestack::SliceInput::vertexCount = 0 |
在文件 SpriteStack.h 第 42 行定义.
该结构体的文档由以下文件生成:
- src/modules/spritestack/SpriteStack.h