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

Parameters for contact-band edge and material fusion. 更多...

#include <MeshContactBlend.h>

Public 属性

float edgeRadius = 0.f
 
float materialRadius = 0.f
 
float strength = 1.f
 
float normalsBlend = 1.f
 
float materialBlend = 1.f
 
float maxQueryDistance = 0.f
 0 ⇒ max(edgeRadius, materialRadius)
 
float surfaceOffset = 0.f
 
bool softSnapPositions = false
 
std::string_view falloff = "smooth"
 smooth|linear|sharp|sphere
 

详细描述

Parameters for contact-band edge and material fusion.

Pure value object. Callers serialize mutation. Defaults produce no effect until radii and strengths are set positive (static merge keeps enablement separate and off by default).

@thread Copied by value into blend evaluation; no retained pointers.

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

类成员变量说明

◆ edgeRadius

float eve::procgen::MeshContactBlendParams::edgeRadius = 0.f

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

被这些函数引用 eve::procgen::MeshAdhereLive::activateResult().

◆ falloff

std::string_view eve::procgen::MeshContactBlendParams::falloff = "smooth"

◆ materialBlend

float eve::procgen::MeshContactBlendParams::materialBlend = 1.f

在文件 MeshContactBlend.h 第 27 行定义.

被这些函数引用 eve::procgen::MeshAdhereLive::activateResult().

◆ materialRadius

float eve::procgen::MeshContactBlendParams::materialRadius = 0.f

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

被这些函数引用 eve::procgen::MeshAdhereLive::activateResult().

◆ maxQueryDistance

float eve::procgen::MeshContactBlendParams::maxQueryDistance = 0.f

0 ⇒ max(edgeRadius, materialRadius)

在文件 MeshContactBlend.h 第 28 行定义.

◆ normalsBlend

float eve::procgen::MeshContactBlendParams::normalsBlend = 1.f

在文件 MeshContactBlend.h 第 26 行定义.

被这些函数引用 eve::procgen::MeshAdhereLive::activateResult().

◆ softSnapPositions

bool eve::procgen::MeshContactBlendParams::softSnapPositions = false

◆ strength

float eve::procgen::MeshContactBlendParams::strength = 1.f

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

被这些函数引用 eve::procgen::MeshAdhereLive::activateResult().

◆ surfaceOffset

float eve::procgen::MeshContactBlendParams::surfaceOffset = 0.f

在文件 MeshContactBlend.h 第 29 行定义.


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