Context linking a routed event to its action execution. 更多...
#include <ActionNotifyRegistry.h>
Public 属性 | |
| ActionExecutionId | executionId |
| Execution whose lifecycle is being routed. | |
| std::optional< ecs::EntityHandle > | source |
| Optional source entity; resolved by consumers at call time. | |
| std::vector< ecs::EntityHandle > | targets |
| Owning target handle list for this synchronous dispatch. | |
| OptionalRef< const IAttachmentPointSource > | sourceAttachment |
| Optional borrowed animated attachment source corresponding to source. | |
| std::vector< OptionalRef< const IAttachmentPointSource > > | targetAttachments |
| Borrowed animated attachment sources indexed like targets; empty entries are valid. | |
| Duration | time = Duration::zero() |
| Authoritative timeline time associated with this dispatch. | |
| SimulationTick | tick = SimulationTick::zero() |
| Deterministic simulation tick associated with this dispatch, when available. | |
| double | playbackRate = 1.0 |
| Finite positive host playback multiplier used by synchronized presentation blocks. | |
| bool | preview = false |
| Whether the callback is an editor/runtime preview projection. | |
| bool | scrubbing = false |
| Whether preview time was positioned discontinuously. | |
| bool | interrupted = false |
| Whether state exits are being synthesized because the execution was interrupted. | |
详细描述
Context linking a routed event to its action execution.
在文件 ActionNotifyRegistry.h 第 34 行定义.
类成员变量说明
◆ executionId
| ActionExecutionId eve::action::ActionNotifyContext::executionId |
Execution whose lifecycle is being routed.
在文件 ActionNotifyRegistry.h 第 36 行定义.
◆ interrupted
| bool eve::action::ActionNotifyContext::interrupted = false |
Whether state exits are being synthesized because the execution was interrupted.
在文件 ActionNotifyRegistry.h 第 59 行定义.
◆ playbackRate
| double eve::action::ActionNotifyContext::playbackRate = 1.0 |
Finite positive host playback multiplier used by synchronized presentation blocks.
在文件 ActionNotifyRegistry.h 第 53 行定义.
◆ preview
| bool eve::action::ActionNotifyContext::preview = false |
Whether the callback is an editor/runtime preview projection.
在文件 ActionNotifyRegistry.h 第 55 行定义.
◆ scrubbing
| bool eve::action::ActionNotifyContext::scrubbing = false |
Whether preview time was positioned discontinuously.
在文件 ActionNotifyRegistry.h 第 57 行定义.
◆ source
| std::optional<ecs::EntityHandle> eve::action::ActionNotifyContext::source |
Optional source entity; resolved by consumers at call time.
在文件 ActionNotifyRegistry.h 第 38 行定义.
◆ sourceAttachment
| OptionalRef<const IAttachmentPointSource> eve::action::ActionNotifyContext::sourceAttachment |
Optional borrowed animated attachment source corresponding to source.
在文件 ActionNotifyRegistry.h 第 42 行定义.
◆ targetAttachments
| std::vector<OptionalRef<const IAttachmentPointSource> > eve::action::ActionNotifyContext::targetAttachments |
Borrowed animated attachment sources indexed like targets; empty entries are valid.
- 备注
- References are valid only during synchronous dispatch and are never retained by handlers.
在文件 ActionNotifyRegistry.h 第 47 行定义.
◆ targets
| std::vector<ecs::EntityHandle> eve::action::ActionNotifyContext::targets |
Owning target handle list for this synchronous dispatch.
在文件 ActionNotifyRegistry.h 第 40 行定义.
◆ tick
| SimulationTick eve::action::ActionNotifyContext::tick = SimulationTick::zero() |
Deterministic simulation tick associated with this dispatch, when available.
在文件 ActionNotifyRegistry.h 第 51 行定义.
◆ time
| Duration eve::action::ActionNotifyContext::time = Duration::zero() |
Authoritative timeline time associated with this dispatch.
在文件 ActionNotifyRegistry.h 第 49 行定义.
该结构体的文档由以下文件生成:
- src/modules/action/ActionNotifyRegistry.h