载入中...
搜索中...
未找到
eve::graphics::hair::GroomLod结构体 参考

One LOD entry for a groom group. 更多...

#include <GroomAsset.h>

Public 属性

float screenSize = 1.f
 Switch to this LOD when screen size falls below this value (0..1).
 
Representation representation = Representation::Strands
 
float curveFraction = 1.f
 Keep this fraction of curves when baking ribbons (1 = all).
 
float thicknessScale = 1.f
 Extra thickness scale applied when curves are decimated.
 

详细描述

One LOD entry for a groom group.

在文件 GroomAsset.h 第 17 行定义.

类成员变量说明

◆ curveFraction

float eve::graphics::hair::GroomLod::curveFraction = 1.f

Keep this fraction of curves when baking ribbons (1 = all).

在文件 GroomAsset.h 第 22 行定义.

◆ representation

Representation eve::graphics::hair::GroomLod::representation = Representation::Strands

在文件 GroomAsset.h 第 20 行定义.

◆ screenSize

float eve::graphics::hair::GroomLod::screenSize = 1.f

Switch to this LOD when screen size falls below this value (0..1).

在文件 GroomAsset.h 第 19 行定义.

被这些函数引用 eve::graphics::hair::GroomAsset::addGroup().

◆ thicknessScale

float eve::graphics::hair::GroomLod::thicknessScale = 1.f

Extra thickness scale applied when curves are decimated.

在文件 GroomAsset.h 第 24 行定义.


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