One timeline phase that owns zero or more layers. 更多...
#include <AttackVfxRecipe.h>
Public 成员函数 | |
| Result< void > | validate (std::string_view path) const |
| Validate cues, timing, and nested layers. | |
Public 属性 | |
| AttackVfxPhaseKind | kind = AttackVfxPhaseKind::Release |
| std::string | startCue |
| std::string | endCue |
| double | startOffsetSeconds = 0.0 |
| double | durationSeconds = 0.0 |
| std::vector< AttackVfxLayer > | layers |
详细描述
One timeline phase that owns zero or more layers.
Empty startCue means the phase arms at play() after startOffsetSeconds. Non-empty startCue waits for AttackVfxRuntime::signal(). durationSeconds <= 0 means the phase stays until endCue, stop(), or instance completion.
在文件 AttackVfxRecipe.h 第 124 行定义.
成员函数说明
◆ validate()
| Result< void > eve::stylize::AttackVfxPhase::validate | ( | std::string_view | path | ) | const |
Validate cues, timing, and nested layers.
在文件 AttackVfxRecipe.cpp 第 507 行定义.
引用了 durationSeconds, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, layers, path, startOffsetSeconds, status , 以及 eve::Result< T >::success().
类成员变量说明
◆ durationSeconds
| double eve::stylize::AttackVfxPhase::durationSeconds = 0.0 |
在文件 AttackVfxRecipe.h 第 129 行定义.
被这些函数引用 validate().
◆ endCue
| std::string eve::stylize::AttackVfxPhase::endCue |
在文件 AttackVfxRecipe.h 第 127 行定义.
◆ kind
| AttackVfxPhaseKind eve::stylize::AttackVfxPhase::kind = AttackVfxPhaseKind::Release |
在文件 AttackVfxRecipe.h 第 125 行定义.
被这些函数引用 eve::stylize::AttackVfxRuntime::Impl::startOneLayer().
◆ layers
| std::vector<AttackVfxLayer> eve::stylize::AttackVfxPhase::layers |
在文件 AttackVfxRecipe.h 第 130 行定义.
被这些函数引用 eve::stylize::AttackVfxRuntime::Impl::startOneLayer() , 以及 validate().
◆ startCue
| std::string eve::stylize::AttackVfxPhase::startCue |
在文件 AttackVfxRecipe.h 第 126 行定义.
◆ startOffsetSeconds
| double eve::stylize::AttackVfxPhase::startOffsetSeconds = 0.0 |
在文件 AttackVfxRecipe.h 第 128 行定义.
被这些函数引用 validate().
该结构体的文档由以下文件生成:
- src/modules/stylize/AttackVfxRecipe.h
- src/modules/stylize/AttackVfxRecipe.cpp