pub struct RigidBody {
pub id: i32,
pub position: Marker,
pub orientation: Quaternion<f32>,
pub markers: Vec<Marker>,
pub marker_ids: Vec<i32>,
pub marker_sizes: Vec<f32>,
pub mean_error: f32,
pub valid_track: Option<bool>,
}Expand description
A set of Markers creating a rigid body
Fields§
§id: i32ID of body
position: MarkerPosition in 3D
orientation: Quaternion<f32>Orientation represented as a quaternion
markers: Vec<Marker>List of markers comprising this body
marker_ids: Vec<i32>List of marker IDs
marker_sizes: Vec<f32>List of marker sizes
mean_error: f32Mean error for markers
valid_track: Option<bool>Was the body successfully tracked this frame (NatNet >= 2.6)
Trait Implementations§
impl StructuralPartialEq for RigidBody
Auto Trait Implementations§
impl Freeze for RigidBody
impl RefUnwindSafe for RigidBody
impl Send for RigidBody
impl Sync for RigidBody
impl Unpin for RigidBody
impl UnwindSafe for RigidBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)