载入中...
搜索中...
未找到
eve::physics::SimulationObservation结构体 参考

Observable backend progress shared by CPU and accelerator providers. 更多...

#include <SimulationBackend.h>

Public 属性

std::uint64_t stepCount = 0
 Number of completed steps since backend creation.
 
eve::SimulationTick lastTick = eve::SimulationTick::zero()
 Tick of the most recently completed step.
 
eve::Duration simulatedDuration = eve::Duration::zero()
 Accumulated logical simulation time, never wall-clock time.
 
double simulatedSeconds = 0.0
 Accumulated logical simulation time in seconds.
 
float lastDeltaSeconds = 0.f
 Duration consumed by the most recently completed step.
 

详细描述

Observable backend progress shared by CPU and accelerator providers.

Values describe completed steps only. simulatedDuration and lastTick are authoritative for deterministic state; the seconds fields are compatibility projections for legacy diagnostics and scripts.

在文件 SimulationBackend.h 第 136 行定义.

类成员变量说明

◆ lastDeltaSeconds

float eve::physics::SimulationObservation::lastDeltaSeconds = 0.f

Duration consumed by the most recently completed step.

在文件 SimulationBackend.h 第 146 行定义.

◆ lastTick

eve::SimulationTick eve::physics::SimulationObservation::lastTick = eve::SimulationTick::zero()

Tick of the most recently completed step.

在文件 SimulationBackend.h 第 140 行定义.

被这些函数引用 eve::physics::WorldSnapshotAccess::finishPrepared() , 以及 eve::physics::WorldSnapshotAccess::finishPrepared().

◆ simulatedDuration

eve::Duration eve::physics::SimulationObservation::simulatedDuration = eve::Duration::zero()

Accumulated logical simulation time, never wall-clock time.

在文件 SimulationBackend.h 第 142 行定义.

◆ simulatedSeconds

double eve::physics::SimulationObservation::simulatedSeconds = 0.0

Accumulated logical simulation time in seconds.

在文件 SimulationBackend.h 第 144 行定义.

◆ stepCount

std::uint64_t eve::physics::SimulationObservation::stepCount = 0

Number of completed steps since backend creation.

在文件 SimulationBackend.h 第 138 行定义.


该结构体的文档由以下文件生成: