载入中...
搜索中...
未找到
MeshVfxAsset.h
浏览该文件的文档.
112 [[nodiscard]] static eve::Result<std::unique_ptr<MeshVfxAssetInstance>> create(const MeshVfxAsset& asset);
116 const MeshVfxAsset& asset, const std::map<std::string, std::map<std::string, float>>& externalStyles);
132 [[nodiscard]] eve::Result<TrailAppendResult> sampleTrail(const eve::IAttachmentPointSource& source);
134 [[nodiscard]] MeshVfxAnimationDispatch processAnimationEvents(const eve::IAnimationEventSource& source);
141 [[nodiscard]] const MeshEffectInstance& layer(std::size_t index) const { return *layers_.at(index); }
Move-only, checked operation results for the common layer.
Read-only cross-module view of animation events emitted by the latest simulation update....
Definition AnimationEventSource.h:14
Read-only cross-module contract for sampling named animated attachment points. @ownership Implementat...
Definition AttachmentPoint.h:22
Runtime state for a shader effect attached to a renderable mesh.
Definition MeshEffect.h:40
Owning runtime instantiated from one immutable MeshVfxAsset snapshot. @ownership Owns all layer runti...
Definition MeshVfxAsset.h:106
MeshEffectInstance & layer(std::size_t index)
Return one owned layer; throws std::out_of_range for an invalid index.
Definition MeshVfxAsset.h:139
bool hasTrail() const noexcept
Whether this composition owns a trail emitter.
Definition MeshVfxAsset.h:143
const MeshEffectInstance & layer(std::size_t index) const
Return one owned layer; throws std::out_of_range for an invalid index.
Definition MeshVfxAsset.h:141
std::size_t layerCount() const noexcept
Return the number of independently rendered mesh layers.
Definition MeshVfxAsset.h:137
Transactional hot-reload boundary for one mesh VFX asset. A failed reload preserves both the previous...
Definition MeshVfxAsset.h:168
std::uint64_t revision() const noexcept
Monotonic successful-reload revision, starting at one.
Definition MeshVfxAsset.h:178
const MeshVfxAsset & asset() const noexcept
Current immutable asset snapshot.
Definition MeshVfxAsset.h:176
Deterministic CPU sampler and ribbon mesh generator for weapon trails.
Definition TrailEffect.h:55
Definition MeshVfxPackage.h:10
Definition Container.h:602
Plain world-space point shared by animation consumers without a math-library dependency.
Definition AttachmentPoint.h:10
Deterministic timing configuration for one mesh effect playback.
Definition MeshEffect.h:24
Summary of lifecycle actions dispatched from one animation event batch.
Definition MeshVfxAsset.h:57
std::size_t trailBreaks
Definition MeshVfxAsset.h:61
Animation notification names mapped to built-in Mesh VFX lifecycle actions.
Definition MeshVfxAsset.h:50
std::vector< std::string > play
Definition MeshVfxAsset.h:51
std::vector< std::string > trailBreak
Definition MeshVfxAsset.h:53
std::vector< std::string > stop
Definition MeshVfxAsset.h:52
Versioned, backend-neutral description of a real-time mesh effect.
Definition MeshVfxAsset.h:73
MeshVfxAnimationTriggers animationTriggers
Definition MeshVfxAsset.h:81
std::optional< MeshVfxTrailBinding > trailBinding
Definition MeshVfxAsset.h:79
std::vector< MeshVfxEventAsset > events
Definition MeshVfxAsset.h:80
std::vector< MeshVfxLayerAsset > layers
Definition MeshVfxAsset.h:77
Named gameplay/render marker on the primary layer's normalized playback timeline.
Definition MeshVfxAsset.h:36
Piecewise-linear parameter animation evaluated over one playback cycle.
Definition MeshVfxAsset.h:28
std::vector< MeshVfxFloatKey > keys
Definition MeshVfxAsset.h:29
One normalized key in a deterministic float parameter curve.
Definition MeshVfxAsset.h:22
One independently rendered layer in a mesh VFX asset.
Definition MeshVfxAsset.h:65
std::map< std::string, MeshVfxFloatCurve > floatCurves
Definition MeshVfxAsset.h:69
std::map< std::string, float > floatParameters
Definition MeshVfxAsset.h:68
Authored root/tip attachment pair used to sample a weapon ribbon automatically.
Definition MeshVfxAsset.h:42
eve::AttachmentPoint rootOffset
Definition MeshVfxAsset.h:45
eve::AttachmentPoint tipOffset
Definition MeshVfxAsset.h:46
std::string rootAttachment
Definition MeshVfxAsset.h:43
std::string tipAttachment
Definition MeshVfxAsset.h:44