pub struct PhysicsView {
pub active_bodies: usize,
pub stashed_bodies: usize,
pub camera_anchor: Option<Vec3>,
}Expand description
View published into the LaneBus by
PhysicsFlow. Carries per-frame physics statistics for downstream
consumers (telemetry, editor panels).
Fields§
§active_bodies: usizeNumber of entities currently carrying an active RigidBody.
stashed_bodies: usizeNumber of entities whose RigidBody has been stashed by AGDF.
camera_anchor: Option<Vec3>World-space camera position used as the relevance anchor.
Trait Implementations§
Source§impl Clone for PhysicsView
impl Clone for PhysicsView
Source§fn clone(&self) -> PhysicsView
fn clone(&self) -> PhysicsView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PhysicsView
impl Debug for PhysicsView
Source§impl Default for PhysicsView
impl Default for PhysicsView
Source§fn default() -> PhysicsView
fn default() -> PhysicsView
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PhysicsView
impl RefUnwindSafe for PhysicsView
impl Send for PhysicsView
impl Sync for PhysicsView
impl Unpin for PhysicsView
impl UnsafeUnpin for PhysicsView
impl UnwindSafe for PhysicsView
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