类 | |
| class | GpuAgentsDocumentTarget |
| Reversible document for GPU Agents effect authoring. 更多... | |
| class | GpuAgentsRuntimeApplier |
| Optional bridge projecting a validated document into live World/Backend. @ownership Borrowed world/backend; does not take ownership. 更多... | |
| struct | GpuAgentsSettings |
| Authoring values for one GPU Agents effect document. 更多... | |
类型定义 | |
| using | CapabilityId = editing::CapabilityId |
| using | DiagnosticSeverity = editing::DiagnosticSeverity |
| using | DomainOperation = editing::DomainOperation |
| using | EditorDiagnostic = editing::Diagnostic |
| using | EditorStatus = editing::Status |
| using | EditorValue = editing::Value |
| using | IDomainOperationTarget = editing::IDomainOperationTarget |
| using | IEditableTarget = editing::IEditableTarget |
| using | IPropertyProvider = editing::IPropertyProvider |
| using | PropertyPath = editing::PropertyPath |
| using | PropertyReadResult = editing::PropertyReadResult |
| using | PropertySchema = editing::PropertySchema |
| using | PropertySetMode = editing::PropertySetMode |
| using | Revision = editing::Revision |
| using | RuleId = editing::RuleId |
| using | SelectionSnapshot = editing::SelectionSnapshot |
| using | TargetDescriptor = editing::TargetDescriptor |
| using | TargetId = editing::TargetId |
函数 | |
| PropertySchema | gpuAgentsEffectSchema () |
| Build the UI-independent PropertySchema for gpuagents:effect-document v1. | |
| gpuagents::EffectProfile | toEffectProfile (const GpuAgentsSettings &settings) |
| Convert authoring settings into a runtime EffectProfile. | |
类型定义说明
◆ CapabilityId
| using eve::gpuagents_editing::CapabilityId = typedef editing::CapabilityId |
在文件 GpuAgentsDocument.h 第 19 行定义.
◆ DiagnosticSeverity
在文件 GpuAgentsDocument.h 第 20 行定义.
◆ DomainOperation
| using eve::gpuagents_editing::DomainOperation = typedef editing::DomainOperation |
在文件 GpuAgentsDocument.h 第 21 行定义.
◆ EditorDiagnostic
| using eve::gpuagents_editing::EditorDiagnostic = typedef editing::Diagnostic |
在文件 GpuAgentsDocument.h 第 22 行定义.
◆ EditorStatus
| using eve::gpuagents_editing::EditorStatus = typedef editing::Status |
在文件 GpuAgentsDocument.h 第 24 行定义.
◆ EditorValue
| using eve::gpuagents_editing::EditorValue = typedef editing::Value |
在文件 GpuAgentsDocument.h 第 25 行定义.
◆ IDomainOperationTarget
在文件 GpuAgentsDocument.h 第 26 行定义.
◆ IEditableTarget
| using eve::gpuagents_editing::IEditableTarget = typedef editing::IEditableTarget |
在文件 GpuAgentsDocument.h 第 27 行定义.
◆ IPropertyProvider
| using eve::gpuagents_editing::IPropertyProvider = typedef editing::IPropertyProvider |
在文件 GpuAgentsDocument.h 第 28 行定义.
◆ PropertyPath
| using eve::gpuagents_editing::PropertyPath = typedef editing::PropertyPath |
在文件 GpuAgentsDocument.h 第 29 行定义.
◆ PropertyReadResult
在文件 GpuAgentsDocument.h 第 30 行定义.
◆ PropertySchema
| using eve::gpuagents_editing::PropertySchema = typedef editing::PropertySchema |
在文件 GpuAgentsDocument.h 第 31 行定义.
◆ PropertySetMode
| using eve::gpuagents_editing::PropertySetMode = typedef editing::PropertySetMode |
在文件 GpuAgentsDocument.h 第 32 行定义.
◆ Revision
| using eve::gpuagents_editing::Revision = typedef editing::Revision |
在文件 GpuAgentsDocument.h 第 33 行定义.
◆ RuleId
| using eve::gpuagents_editing::RuleId = typedef editing::RuleId |
在文件 GpuAgentsDocument.h 第 34 行定义.
◆ SelectionSnapshot
| using eve::gpuagents_editing::SelectionSnapshot = typedef editing::SelectionSnapshot |
在文件 GpuAgentsDocument.h 第 35 行定义.
◆ TargetDescriptor
| using eve::gpuagents_editing::TargetDescriptor = typedef editing::TargetDescriptor |
在文件 GpuAgentsDocument.h 第 36 行定义.
◆ TargetId
| using eve::gpuagents_editing::TargetId = typedef editing::TargetId |
在文件 GpuAgentsDocument.h 第 37 行定义.
函数说明
◆ gpuAgentsEffectSchema()
| EVENGINE_API_ORCHESTRATION PropertySchema eve::gpuagents_editing::gpuAgentsEffectSchema | ( | ) |
Build the UI-independent PropertySchema for gpuagents:effect-document v1.
在文件 GpuAgentsDocument.cpp 第 176 行定义.
引用了 d, descriptor, eve::editing::Float, eve::editing::Int, kind, s, eve::editing::String, eve::editing::PropertySchema::typeId , 以及 eve::editing::Vec3.
被这些函数引用 eve::gpuagents_editing::GpuAgentsDocumentTarget::schema().
◆ toEffectProfile()
| EVENGINE_API_ORCHESTRATION gpuagents::EffectProfile eve::gpuagents_editing::toEffectProfile | ( | const GpuAgentsSettings & | settings | ) |
Convert authoring settings into a runtime EffectProfile.
在文件 GpuAgentsDocument.cpp 第 212 行定义.
引用了 eve::gpuagents::FishProfile::alignmentRadius, eve::gpuagents::BirdProfile::alignmentRadius, eve::gpuagents::FishProfile::alignmentWeight, eve::gpuagents::BirdProfile::alignmentWeight, eve::gpuagents::EffectProfile::base(), eve::gpuagents::EffectProfile::bird, eve::gpuagents::FishProfile::cohesionRadius, eve::gpuagents::BirdProfile::cohesionRadius, eve::gpuagents::FishProfile::cohesionWeight, eve::gpuagents::BirdProfile::cohesionWeight, eve::gpuagents::LifeNetworkProfile::depositStrength, eve::gpuagents::LifeNetworkProfile::diffusionRate, eve::gpuagents::EffectProfile::fish, eve::gpuagents::EffectProfileBase::fixedDt, eve::gpuagents::EffectProfile::life, eve::gpuagents::EffectProfile::makeBird(), eve::gpuagents::EffectProfile::makeFish(), eve::gpuagents::EffectProfile::makeLife(), eve::gpuagents::EffectProfile::makePetal(), eve::gpuagents::FishProfile::maxSpeed, eve::gpuagents::BirdProfile::maxSpeed, eve::gpuagents::LifeNetworkProfile::minSurfaceNormalZ, eve::gpuagents::LifeNetworkProfile::moveSpeed, eve::gpuagents::LifeNetworkProfile::origin, eve::gpuagents::FishProfile::separationRadius, eve::gpuagents::BirdProfile::separationRadius, eve::gpuagents::FishProfile::separationWeight, eve::gpuagents::BirdProfile::separationWeight, settings, toEffectProfile(), eve::gpuagents::LifeNetworkProfile::trailDecayRate, eve::gpuagents::LifeNetworkProfile::trailFollow , 以及 eve::gpuagents::LifeNetworkProfile::worldSize.
被这些函数引用 eve::gpuagents_editing::GpuAgentsRuntimeApplier::apply() , 以及 toEffectProfile().