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

Parameters for growing strands on a triangle mesh (scalp / body). 更多...

#include <Procedural.h>

Public 属性

int strandCount = 512
 
int pointsPerStrand = 8
 
float length = 0.18f
 
float lengthJitter = 0.04f
 
float rootRadius = 0.0012f
 
float tipRadius = 0.0004f
 
float curlStrength = 0.02f
 
float minSlopeDot = 0.25f
 
uint32_t seed = 1
 

详细描述

Parameters for growing strands on a triangle mesh (scalp / body).

Inspired by UE groom import density + guide generation, but CPU-only and deterministic from seed for tests.

在文件 Procedural.h 第 16 行定义.

类成员变量说明

◆ curlStrength

float eve::graphics::hair::ProceduralParams::curlStrength = 0.02f

在文件 Procedural.h 第 23 行定义.

◆ length

float eve::graphics::hair::ProceduralParams::length = 0.18f

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

◆ lengthJitter

float eve::graphics::hair::ProceduralParams::lengthJitter = 0.04f

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

◆ minSlopeDot

float eve::graphics::hair::ProceduralParams::minSlopeDot = 0.25f

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

◆ pointsPerStrand

int eve::graphics::hair::ProceduralParams::pointsPerStrand = 8

在文件 Procedural.h 第 18 行定义.

◆ rootRadius

float eve::graphics::hair::ProceduralParams::rootRadius = 0.0012f

在文件 Procedural.h 第 21 行定义.

◆ seed

uint32_t eve::graphics::hair::ProceduralParams::seed = 1

在文件 Procedural.h 第 25 行定义.

◆ strandCount

int eve::graphics::hair::ProceduralParams::strandCount = 512

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

◆ tipRadius

float eve::graphics::hair::ProceduralParams::tipRadius = 0.0004f

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


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