|
SuperDex Physics C++ API
|
Parameters controlling the stepping behavior of an AsyncScene. More...
#include <mochi_structs.h>
Public Attributes | |
| double | dynamicTimeStepMaxSeconds = 0.01 |
| Maximum time step size [s] in dynamic mode. | |
| double | dynamicTimeStepMinSeconds = 0.001 |
| Minimum time step size [s] in dynamic mode. | |
| double | fixedTimeStepSeconds = 0.01 |
| Fixed time step size [s]. | |
| std::function< double()> | timeStepCallback |
| Optional callback to provide custom time step size [s]. | |
| bool | useFixedTimeStep = false |
| Use fixed time step if true, dynamic (real-time) time step if false. | |
Parameters controlling the stepping behavior of an AsyncScene.
Configures how an AsyncScene determines the time step size. There are three modes for determining the time step size, evaluated in the following priority order:
Definition at line 485 of file mochi_structs.h.
| double superdex::AsyncStepParams::dynamicTimeStepMaxSeconds = 0.01 |
Maximum time step size [s] in dynamic mode.
Definition at line 492 of file mochi_structs.h.
| double superdex::AsyncStepParams::dynamicTimeStepMinSeconds = 0.001 |
Minimum time step size [s] in dynamic mode.
Definition at line 490 of file mochi_structs.h.
| double superdex::AsyncStepParams::fixedTimeStepSeconds = 0.01 |
Fixed time step size [s].
Definition at line 488 of file mochi_structs.h.
| std::function<double()> superdex::AsyncStepParams::timeStepCallback |
Optional callback to provide custom time step size [s].
Definition at line 494 of file mochi_structs.h.
| bool superdex::AsyncStepParams::useFixedTimeStep = false |
Use fixed time step if true, dynamic (real-time) time step if false.
Definition at line 486 of file mochi_structs.h.