载入中...
搜索中...
未找到
ActionVfxBlock.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
12
13#include <cstdint>
14#include <string>
15
16namespace eve::action {
17
19enum class ActionVfxShape : std::uint8_t { Instant, State };
20
23
26 std::string uri;
28 ActionVfxStopBehavior stopBehavior = ActionVfxStopBehavior::StopEmitting;
29 bool playbackRateSynced = true;
30 double clipStartTime = 0.0;
31 double clipEndTime = 0.5;
32 double lifetimeSeconds = 0.0;
33
35 auto operator<=>(const ActionVfxBinding&) const = default;
36
45 [[nodiscard]] static Result<ActionVfxBinding> fromPayload(const Value::Object& payload,
47};
48
49} // namespace eve::action
Typed spatial payload shared by presentation action blocks.
Value::Object payload
#define EVENGINE_API_PLATFORM
Definition Export.h:107
ShaderImageInput shape
Move-only operation result carrying either a value or Status.
Definition Result.h:176
std::map< std::string, Value > Object
Definition Value.h:34
ActionVfxShape
Authored VFX block shape used to select lifetime validation.
ActionVfxStopBehavior
Behavior applied when a VFX block leaves its active interval.
Validated spatial settings decoded from a notify payload.
Owning validated VFX settings shared by runtime and editor preview.
ActionSpatialBinding spatial
auto operator<=>(const ActionVfxBinding &) const =default
Operator <=>.