Backend-neutral spatial binding stored on a layer. 更多...
#include <AttackVfxRecipe.h>
Public 成员函数 | |
| auto | operator<=> (const AttackVfxSpatial &) const =default |
| Operator <=>. | |
| Result< void > | validate (std::string_view path) const |
| Validate finite offsets and strictly positive scale. | |
Public 属性 | |
| AttackVfxSpatialAttachment | attachment = AttackVfxSpatialAttachment::FollowTarget |
| AttackVfxSpatialAnchor | anchor = AttackVfxSpatialAnchor::Source |
| std::size_t | targetIndex = 0 |
| std::string | bone |
| AttackVfxVec3 | positionOffset |
| AttackVfxVec3 | rotationOffsetDegrees |
| AttackVfxVec3 | scale {1.f, 1.f, 1.f} |
详细描述
Backend-neutral spatial binding stored on a layer.
Mirrors ActionSpatialBinding field semantics without depending on the action module. Adapters resolve bones and entity handles at play/update time.
在文件 AttackVfxRecipe.h 第 84 行定义.
成员函数说明
◆ operator<=>()
|
default |
Operator <=>.
◆ validate()
| Result< void > eve::stylize::AttackVfxSpatial::validate | ( | std::string_view | path | ) | const |
Validate finite offsets and strictly positive scale.
在文件 AttackVfxRecipe.cpp 第 480 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), finite, eve::InvalidArgument, path, positionOffset, rotationOffsetDegrees, scale, eve::Result< T >::success(), v, eve::stylize::AttackVfxVec3::x, eve::stylize::AttackVfxVec3::y , 以及 eve::stylize::AttackVfxVec3::z.
类成员变量说明
◆ anchor
| AttackVfxSpatialAnchor eve::stylize::AttackVfxSpatial::anchor = AttackVfxSpatialAnchor::Source |
在文件 AttackVfxRecipe.h 第 86 行定义.
◆ attachment
| AttackVfxSpatialAttachment eve::stylize::AttackVfxSpatial::attachment = AttackVfxSpatialAttachment::FollowTarget |
在文件 AttackVfxRecipe.h 第 85 行定义.
◆ bone
| std::string eve::stylize::AttackVfxSpatial::bone |
在文件 AttackVfxRecipe.h 第 88 行定义.
◆ positionOffset
| AttackVfxVec3 eve::stylize::AttackVfxSpatial::positionOffset |
在文件 AttackVfxRecipe.h 第 89 行定义.
被这些函数引用 validate().
◆ rotationOffsetDegrees
| AttackVfxVec3 eve::stylize::AttackVfxSpatial::rotationOffsetDegrees |
在文件 AttackVfxRecipe.h 第 90 行定义.
被这些函数引用 validate().
◆ scale
| AttackVfxVec3 eve::stylize::AttackVfxSpatial::scale {1.f, 1.f, 1.f} |
在文件 AttackVfxRecipe.h 第 91 行定义.
被这些函数引用 validate().
◆ targetIndex
| std::size_t eve::stylize::AttackVfxSpatial::targetIndex = 0 |
在文件 AttackVfxRecipe.h 第 87 行定义.
该结构体的文档由以下文件生成:
- src/modules/stylize/AttackVfxRecipe.h
- src/modules/stylize/AttackVfxRecipe.cpp