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 行定义.
◆ falloff
| std::string_view eve::procgen::MeshContactBlendParams::falloff = "smooth" |
smooth|linear|sharp|sphere
在文件 MeshContactBlend.h 第 31 行定义.
被这些函数引用 eve::procgen::MeshAdhereLive::activateResult(), eve::procgen::MeshMergePlan::setContactBlendParams() , 以及 eve::procgen::MeshAdhereLive::setParamsResult().
◆ materialBlend
| float eve::procgen::MeshContactBlendParams::materialBlend = 1.f |
在文件 MeshContactBlend.h 第 27 行定义.
◆ materialRadius
| float eve::procgen::MeshContactBlendParams::materialRadius = 0.f |
在文件 MeshContactBlend.h 第 24 行定义.
◆ 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 行定义.
◆ softSnapPositions
| bool eve::procgen::MeshContactBlendParams::softSnapPositions = false |
在文件 MeshContactBlend.h 第 30 行定义.
被这些函数引用 eve::procgen::MeshAdhereLive::activateResult() , 以及 eve::procgen::meshAdhereResult().
◆ strength
| float eve::procgen::MeshContactBlendParams::strength = 1.f |
在文件 MeshContactBlend.h 第 25 行定义.
◆ surfaceOffset
| float eve::procgen::MeshContactBlendParams::surfaceOffset = 0.f |
在文件 MeshContactBlend.h 第 29 行定义.
该结构体的文档由以下文件生成:
- src/modules/procgen/mesh/MeshContactBlend.h