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

Authoring values for one GPU Agents effect document. 更多...

#include <GpuAgentsDocument.h>

Public 成员函数

auto operator<=> (const GpuAgentsSettings &) const =default
 Operator <=>.
 

Public 属性

std::string kind = "Fish"
 Fish | LifeNetwork | Bird | Petal
 
std::int64_t maxAgents = 128
 
double fixedDt = 1.0 / 60.0
 
double agentRadius = 0.25
 
double obstaclePredictTime = 0.35
 
std::int64_t seed = 1
 
double separationRadius = 1.5
 
double cohesionRadius = 4.0
 
double alignmentRadius = 3.0
 
double separationWeight = 1.4
 
double cohesionWeight = 0.8
 
double alignmentWeight = 1.0
 
double maxSpeed = 4.0
 
double moveSpeed = 1.8
 
double depositStrength = 0.35
 
double trailDecayRate = 0.15
 
double diffusionRate = 0.08
 
double trailFollow = 1.2
 
std::int64_t fieldResolution = 64
 
double worldSize = 32.0
 
double originX = -16.0
 
double originY = 0.0
 
double originZ = -16.0
 
double minSurfaceNormalZ = 0.35
 
std::string lifeFieldSampler = "LifeFieldTexture"
 
std::string surfaceDataSampler = "SurfaceDataTexture"
 

详细描述

Authoring values for one GPU Agents effect document.

在文件 GpuAgentsDocument.h 第 40 行定义.

成员函数说明

◆ operator<=>()

auto eve::gpuagents_editing::GpuAgentsSettings::operator<=> ( const GpuAgentsSettings &  ) const
default

Operator <=>.

类成员变量说明

◆ agentRadius

double eve::gpuagents_editing::GpuAgentsSettings::agentRadius = 0.25

在文件 GpuAgentsDocument.h 第 44 行定义.

◆ alignmentRadius

double eve::gpuagents_editing::GpuAgentsSettings::alignmentRadius = 3.0

在文件 GpuAgentsDocument.h 第 51 行定义.

◆ alignmentWeight

double eve::gpuagents_editing::GpuAgentsSettings::alignmentWeight = 1.0

在文件 GpuAgentsDocument.h 第 54 行定义.

◆ cohesionRadius

double eve::gpuagents_editing::GpuAgentsSettings::cohesionRadius = 4.0

在文件 GpuAgentsDocument.h 第 50 行定义.

◆ cohesionWeight

double eve::gpuagents_editing::GpuAgentsSettings::cohesionWeight = 0.8

在文件 GpuAgentsDocument.h 第 53 行定义.

◆ depositStrength

double eve::gpuagents_editing::GpuAgentsSettings::depositStrength = 0.35

在文件 GpuAgentsDocument.h 第 57 行定义.

◆ diffusionRate

double eve::gpuagents_editing::GpuAgentsSettings::diffusionRate = 0.08

在文件 GpuAgentsDocument.h 第 59 行定义.

◆ fieldResolution

std::int64_t eve::gpuagents_editing::GpuAgentsSettings::fieldResolution = 64

在文件 GpuAgentsDocument.h 第 61 行定义.

◆ fixedDt

double eve::gpuagents_editing::GpuAgentsSettings::fixedDt = 1.0 / 60.0

在文件 GpuAgentsDocument.h 第 43 行定义.

◆ kind

std::string eve::gpuagents_editing::GpuAgentsSettings::kind = "Fish"

Fish | LifeNetwork | Bird | Petal

在文件 GpuAgentsDocument.h 第 41 行定义.

◆ lifeFieldSampler

std::string eve::gpuagents_editing::GpuAgentsSettings::lifeFieldSampler = "LifeFieldTexture"

在文件 GpuAgentsDocument.h 第 69 行定义.

◆ maxAgents

std::int64_t eve::gpuagents_editing::GpuAgentsSettings::maxAgents = 128

在文件 GpuAgentsDocument.h 第 42 行定义.

◆ maxSpeed

double eve::gpuagents_editing::GpuAgentsSettings::maxSpeed = 4.0

在文件 GpuAgentsDocument.h 第 55 行定义.

◆ minSurfaceNormalZ

double eve::gpuagents_editing::GpuAgentsSettings::minSurfaceNormalZ = 0.35

在文件 GpuAgentsDocument.h 第 66 行定义.

◆ moveSpeed

double eve::gpuagents_editing::GpuAgentsSettings::moveSpeed = 1.8

在文件 GpuAgentsDocument.h 第 56 行定义.

◆ obstaclePredictTime

double eve::gpuagents_editing::GpuAgentsSettings::obstaclePredictTime = 0.35

在文件 GpuAgentsDocument.h 第 45 行定义.

◆ originX

double eve::gpuagents_editing::GpuAgentsSettings::originX = -16.0

在文件 GpuAgentsDocument.h 第 63 行定义.

◆ originY

double eve::gpuagents_editing::GpuAgentsSettings::originY = 0.0

在文件 GpuAgentsDocument.h 第 64 行定义.

◆ originZ

double eve::gpuagents_editing::GpuAgentsSettings::originZ = -16.0

在文件 GpuAgentsDocument.h 第 65 行定义.

◆ seed

std::int64_t eve::gpuagents_editing::GpuAgentsSettings::seed = 1

在文件 GpuAgentsDocument.h 第 46 行定义.

◆ separationRadius

double eve::gpuagents_editing::GpuAgentsSettings::separationRadius = 1.5

在文件 GpuAgentsDocument.h 第 49 行定义.

◆ separationWeight

double eve::gpuagents_editing::GpuAgentsSettings::separationWeight = 1.4

在文件 GpuAgentsDocument.h 第 52 行定义.

◆ surfaceDataSampler

std::string eve::gpuagents_editing::GpuAgentsSettings::surfaceDataSampler = "SurfaceDataTexture"

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

◆ trailDecayRate

double eve::gpuagents_editing::GpuAgentsSettings::trailDecayRate = 0.15

在文件 GpuAgentsDocument.h 第 58 行定义.

◆ trailFollow

double eve::gpuagents_editing::GpuAgentsSettings::trailFollow = 1.2

在文件 GpuAgentsDocument.h 第 60 行定义.

◆ worldSize

double eve::gpuagents_editing::GpuAgentsSettings::worldSize = 32.0

在文件 GpuAgentsDocument.h 第 62 行定义.


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