载入中...
搜索中...
未找到
Life Network 2D surface-trail parameters. 更多...
#include <EffectProfile.h>
Public 属性 | |
| EffectProfileBase | base {} |
| int | fieldResolution = 64 |
| float | worldSize = 32.f |
| glm::vec3 | origin {-16.f, 0.f, -16.f} |
| float | sensorDistance = 1.5f |
| float | sensorAngle = 0.6f |
| radians left/right of heading | |
| float | trailFollow = 1.2f |
| float | nutrient = 0.4f |
| float | repulsion = 0.8f |
| float | danger = 1.5f |
| float | depositStrength = 0.35f |
| float | trailDecayRate = 0.15f |
| float | freshnessHalfLife = 4.0f |
| float | diffusionRate = 0.08f |
| float | moveSpeed = 1.8f |
| float | minSurfaceNormalZ = 0.35f |
详细描述
Life Network 2D surface-trail parameters.
在文件 EffectProfile.h 第 47 行定义.
类成员变量说明
◆ base
| EffectProfileBase eve::gpuagents::LifeNetworkProfile::base {} |
在文件 EffectProfile.h 第 48 行定义.
◆ danger
| float eve::gpuagents::LifeNetworkProfile::danger = 1.5f |
在文件 EffectProfile.h 第 59 行定义.
◆ depositStrength
| float eve::gpuagents::LifeNetworkProfile::depositStrength = 0.35f |
在文件 EffectProfile.h 第 61 行定义.
◆ diffusionRate
| float eve::gpuagents::LifeNetworkProfile::diffusionRate = 0.08f |
在文件 EffectProfile.h 第 64 行定义.
◆ fieldResolution
| int eve::gpuagents::LifeNetworkProfile::fieldResolution = 64 |
在文件 EffectProfile.h 第 50 行定义.
◆ freshnessHalfLife
| float eve::gpuagents::LifeNetworkProfile::freshnessHalfLife = 4.0f |
在文件 EffectProfile.h 第 63 行定义.
◆ minSurfaceNormalZ
| float eve::gpuagents::LifeNetworkProfile::minSurfaceNormalZ = 0.35f |
在文件 EffectProfile.h 第 66 行定义.
◆ moveSpeed
| float eve::gpuagents::LifeNetworkProfile::moveSpeed = 1.8f |
在文件 EffectProfile.h 第 65 行定义.
◆ nutrient
| float eve::gpuagents::LifeNetworkProfile::nutrient = 0.4f |
在文件 EffectProfile.h 第 57 行定义.
◆ origin
在文件 EffectProfile.h 第 52 行定义.
◆ repulsion
| float eve::gpuagents::LifeNetworkProfile::repulsion = 0.8f |
在文件 EffectProfile.h 第 58 行定义.
◆ sensorAngle
| float eve::gpuagents::LifeNetworkProfile::sensorAngle = 0.6f |
radians left/right of heading
在文件 EffectProfile.h 第 55 行定义.
◆ sensorDistance
| float eve::gpuagents::LifeNetworkProfile::sensorDistance = 1.5f |
在文件 EffectProfile.h 第 54 行定义.
◆ trailDecayRate
| float eve::gpuagents::LifeNetworkProfile::trailDecayRate = 0.15f |
在文件 EffectProfile.h 第 62 行定义.
◆ trailFollow
| float eve::gpuagents::LifeNetworkProfile::trailFollow = 1.2f |
在文件 EffectProfile.h 第 56 行定义.
◆ worldSize
| float eve::gpuagents::LifeNetworkProfile::worldSize = 32.f |
在文件 EffectProfile.h 第 51 行定义.
该结构体的文档由以下文件生成:
- src/modules/gpuagents/EffectProfile.h