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

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.h38 行定义.

类成员变量说明

◆ indexCount

int eve::spritestack::SliceInput::indexCount = 0

在文件 SpriteStack.h44 行定义.

被这些函数引用 eve::spritestack::sliceMeshToLayers().

◆ indices

const uint32_t* eve::spritestack::SliceInput::indices = nullptr

在文件 SpriteStack.h43 行定义.

被这些函数引用 eve::spritestack::sliceMeshToLayers().

◆ nrmXYZ

const float* eve::spritestack::SliceInput::nrmXYZ = nullptr

在文件 SpriteStack.h40 行定义.

被这些函数引用 eve::spritestack::sliceMeshToLayers().

◆ posXYZ

const float* eve::spritestack::SliceInput::posXYZ = nullptr

◆ rgb

const float* eve::spritestack::SliceInput::rgb = nullptr

在文件 SpriteStack.h41 行定义.

被这些函数引用 eve::spritestack::sliceMeshToLayers().

◆ vertexCount

int eve::spritestack::SliceInput::vertexCount = 0

在文件 SpriteStack.h42 行定义.

被这些函数引用 eve::spritestack::sliceMeshToLayers().


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