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

Bird flock flight-dynamics parameters. 更多...

#include <EffectProfile.h>

Public 属性

EffectProfileBase base {}
 
float separationRadius = 2.0f
 
float cohesionRadius = 6.0f
 
float alignmentRadius = 5.0f
 
float perceptionFovDegrees = 300.f
 
int maxNeighborSamples = 20
 
float separationWeight = 1.2f
 
float cohesionWeight = 0.7f
 
float alignmentWeight = 1.1f
 
float goalWeight = 0.5f
 
float stallSpeed = 2.5f
 
float cruiseSpeed = 6.0f
 
float maxSpeed = 10.0f
 
float liftCoefficient = 1.4f
 
float gravityScale = 1.0f
 
float airDrag = 0.35f
 
float maxClimbSpeed = 3.0f
 
float maxDescentSpeed = 5.0f
 
float maxTurnRate = 2.8f
 
float maxBankAngle = 0.85f
 
float timeToCollision = 0.8f
 
float groundClearance = 1.5f
 
float ceilingClearance = 2.0f
 
float windResponseTime = 0.4f
 
float gustAcceleration = 2.0f
 
glm::vec3 uniformWindLocal {0.f, 0.f, 0.f}
 

详细描述

Bird flock flight-dynamics parameters.

在文件 EffectProfile.h 第 70 行定义.

类成员变量说明

◆ airDrag

float eve::gpuagents::BirdProfile::airDrag = 0.35f

在文件 EffectProfile.h 第 89 行定义.

◆ alignmentRadius

float eve::gpuagents::BirdProfile::alignmentRadius = 5.0f

在文件 EffectProfile.h 第 75 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ alignmentWeight

float eve::gpuagents::BirdProfile::alignmentWeight = 1.1f

在文件 EffectProfile.h 第 81 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ base

EffectProfileBase eve::gpuagents::BirdProfile::base {}

在文件 EffectProfile.h 第 71 行定义.

◆ ceilingClearance

float eve::gpuagents::BirdProfile::ceilingClearance = 2.0f

在文件 EffectProfile.h 第 98 行定义.

◆ cohesionRadius

float eve::gpuagents::BirdProfile::cohesionRadius = 6.0f

在文件 EffectProfile.h 第 74 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ cohesionWeight

float eve::gpuagents::BirdProfile::cohesionWeight = 0.7f

在文件 EffectProfile.h 第 80 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ cruiseSpeed

float eve::gpuagents::BirdProfile::cruiseSpeed = 6.0f

在文件 EffectProfile.h 第 85 行定义.

◆ goalWeight

float eve::gpuagents::BirdProfile::goalWeight = 0.5f

在文件 EffectProfile.h 第 82 行定义.

◆ gravityScale

float eve::gpuagents::BirdProfile::gravityScale = 1.0f

在文件 EffectProfile.h 第 88 行定义.

◆ groundClearance

float eve::gpuagents::BirdProfile::groundClearance = 1.5f

在文件 EffectProfile.h 第 97 行定义.

◆ gustAcceleration

float eve::gpuagents::BirdProfile::gustAcceleration = 2.0f

在文件 EffectProfile.h 第 100 行定义.

◆ liftCoefficient

float eve::gpuagents::BirdProfile::liftCoefficient = 1.4f

在文件 EffectProfile.h 第 87 行定义.

◆ maxBankAngle

float eve::gpuagents::BirdProfile::maxBankAngle = 0.85f

在文件 EffectProfile.h 第 94 行定义.

◆ maxClimbSpeed

float eve::gpuagents::BirdProfile::maxClimbSpeed = 3.0f

在文件 EffectProfile.h 第 91 行定义.

◆ maxDescentSpeed

float eve::gpuagents::BirdProfile::maxDescentSpeed = 5.0f

在文件 EffectProfile.h 第 92 行定义.

◆ maxNeighborSamples

int eve::gpuagents::BirdProfile::maxNeighborSamples = 20

在文件 EffectProfile.h 第 77 行定义.

◆ maxSpeed

float eve::gpuagents::BirdProfile::maxSpeed = 10.0f

在文件 EffectProfile.h 第 86 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ maxTurnRate

float eve::gpuagents::BirdProfile::maxTurnRate = 2.8f

在文件 EffectProfile.h 第 93 行定义.

◆ perceptionFovDegrees

float eve::gpuagents::BirdProfile::perceptionFovDegrees = 300.f

在文件 EffectProfile.h 第 76 行定义.

◆ separationRadius

float eve::gpuagents::BirdProfile::separationRadius = 2.0f

在文件 EffectProfile.h 第 73 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ separationWeight

float eve::gpuagents::BirdProfile::separationWeight = 1.2f

在文件 EffectProfile.h 第 79 行定义.

被这些函数引用 eve::gpuagents_editing::toEffectProfile().

◆ stallSpeed

float eve::gpuagents::BirdProfile::stallSpeed = 2.5f

在文件 EffectProfile.h 第 84 行定义.

◆ timeToCollision

float eve::gpuagents::BirdProfile::timeToCollision = 0.8f

在文件 EffectProfile.h 第 96 行定义.

◆ uniformWindLocal

glm::vec3 eve::gpuagents::BirdProfile::uniformWindLocal {0.f, 0.f, 0.f}

在文件 EffectProfile.h 第 101 行定义.

◆ windResponseTime

float eve::gpuagents::BirdProfile::windResponseTime = 0.4f

在文件 EffectProfile.h 第 99 行定义.


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