Struct scs_sdk_rs::scs_telemetry_frame_start_t
source · #[repr(C)]pub struct scs_telemetry_frame_start_t {
pub flags: scs_u32_t,
pub _padding: scs_u32_t,
pub render_time: scs_timestamp_t,
pub simulation_time: scs_timestamp_t,
pub paused_simulation_time: scs_timestamp_t,
}Expand description
@brief Parameters the for SCS_TELEMETRY_EVENT_frame_start event callback.
Fields§
§flags: scs_u32_t@brief Additional information about this event.
Combination of SCS_TELEMETRY_FRAME_START_FLAG_* values.
_padding: scs_u32_t@brief Explicit alignment for the 64 bit timestamps.
render_time: scs_timestamp_t@brief Time controlling the visualization.
Its step changes depending on rendering FPS.
simulation_time: scs_timestamp_t@brief Time controlling the physical simulation.
Usually changes with fixed size steps so it oscilates around the render time. This value changes even if the physics simulation is currently paused.
paused_simulation_time: scs_timestamp_t@brief Similar to simulation time however it stops when the physics simulation is paused.
Trait Implementations§
source§impl Clone for scs_telemetry_frame_start_t
impl Clone for scs_telemetry_frame_start_t
source§fn clone(&self) -> scs_telemetry_frame_start_t
fn clone(&self) -> scs_telemetry_frame_start_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for scs_telemetry_frame_start_t
impl Debug for scs_telemetry_frame_start_t
impl Copy for scs_telemetry_frame_start_t
Auto Trait Implementations§
impl RefUnwindSafe for scs_telemetry_frame_start_t
impl Send for scs_telemetry_frame_start_t
impl Sync for scs_telemetry_frame_start_t
impl Unpin for scs_telemetry_frame_start_t
impl UnwindSafe for scs_telemetry_frame_start_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more