载入中...
搜索中...
未找到
AttackVfxRecipe.h 文件参考

Data-driven layered attack VFX recipe and element skin (Phase 1 schema). 更多...

#include "common/Export.h"
#include "common/Identity.h"
#include "common/Result.h"
#include <cstdint>
#include <map>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::stylize::AttackVfxVec3
 Owning three-component float used at the recipe boundary. 更多...
 
struct  eve::stylize::AttackVfxSpatial
 Backend-neutral spatial binding stored on a layer. 更多...
 
struct  eve::stylize::AttackVfxLayer
 One presentation layer slot inside a phase. 更多...
 
struct  eve::stylize::AttackVfxPhase
 One timeline phase that owns zero or more layers. 更多...
 
struct  eve::stylize::AttackVfxPalette
 RGB palette used as a skin tint (components in [0, 1]). 更多...
 
struct  eve::stylize::AttackVfxSkin
 Reusable elemental / style skin applied at play time. 更多...
 
struct  eve::stylize::AttackVfxBudget
 Optional quality / budget knobs evaluated by later executor phases. 更多...
 
struct  eve::stylize::AttackVfxRecipe
 Versioned attack VFX composition recipe. 更多...
 
class  eve::stylize::AttackVfxRecipeSlot
 Transactional hot-reload boundary for one attack VFX recipe. A failed reload preserves both the previous recipe and revision. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::stylize
 

枚举

enum class  eve::stylize::AttackVfxPhaseKind : std::uint8_t {
  eve::stylize::Anticipate , eve::stylize::Release , eve::stylize::Travel , eve::stylize::Impact ,
  eve::stylize::Aftermath , eve::stylize::Status
}
 Attack presentation phase along the cast → hit → linger timeline. 更多...
 
enum class  eve::stylize::AttackVfxLayerRole : std::uint8_t {
  eve::stylize::BlockingMesh , eve::stylize::MeshVfx , eve::stylize::Trail , eve::stylize::Particles ,
  eve::stylize::Decal , eve::stylize::Distortion , eve::stylize::Camera , eve::stylize::Prefab ,
  eve::stylize::Audio
}
 Which existing presentation backend a layer binds to. 更多...
 
enum class  eve::stylize::AttackVfxStopBehavior : std::uint8_t { eve::stylize::StopEmitting , eve::stylize::ClearImmediately }
 Exit policy when a phase or instance stops. 更多...
 
enum class  eve::stylize::AttackVfxSpatialAttachment : std::uint8_t { eve::stylize::FollowTarget , eve::stylize::FollowPositionOnly , eve::stylize::WorldTransformAtStart }
 How a layer follows its resolved spatial anchor. 更多...
 
enum class  eve::stylize::AttackVfxSpatialAnchor : std::uint8_t { eve::stylize::Source , eve::stylize::Target }
 Which request endpoint supplies the spatial anchor. 更多...
 

函数

std::string_view eve::stylize::attackVfxPhaseKindName (AttackVfxPhaseKind kind) noexcept
 Stable JSON spelling for a phase kind.
 
std::string_view eve::stylize::attackVfxLayerRoleName (AttackVfxLayerRole role) noexcept
 Stable JSON spelling for a layer role.
 
std::string_view eve::stylize::attackVfxStopBehaviorName (AttackVfxStopBehavior behavior) noexcept
 Stable JSON spelling for stop behavior.
 
std::string_view eve::stylize::attackVfxSpatialAttachmentName (AttackVfxSpatialAttachment mode) noexcept
 Stable JSON spelling for spatial attachment.
 
std::string_view eve::stylize::attackVfxSpatialAnchorName (AttackVfxSpatialAnchor anchor) noexcept
 Stable JSON spelling for spatial anchor.
 

详细描述

Data-driven layered attack VFX recipe and element skin (Phase 1 schema).

Attack presentation is composed of ordered phases and typed layer slots that reference existing providers (MeshVFX, particles, decal, camera, …). Element identity is a reusable AttackVfxSkin (palette / profiles / overlay URI), not a hard-coded fire/water code path.

Phase 1 owns schema validation and serialization only; layer executors arrive in later phases. Runtime orchestration lives in AttackVfxRuntime.

在文件 AttackVfxRecipe.h 中定义.