pub struct MeshPose {
pub p: [f32; 3],
pub r: [f32; 4],
pub v: [f32; 3],
pub a: u8,
pub ts: u32,
}Expand description
A pose on the mesh wire — the same shape as a presence-wire pose, but
sender-stamped: with no server clock, the sender fills ts from its own
monotonic clock and receivers interpolate against that sender’s timeline.
Fields§
§p: [f32; 3]§r: [f32; 4]§v: [f32; 3]§a: u8§ts: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for MeshPose
impl<'de> Deserialize<'de> for MeshPose
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MeshPose
Auto Trait Implementations§
impl Freeze for MeshPose
impl RefUnwindSafe for MeshPose
impl Send for MeshPose
impl Sync for MeshPose
impl Unpin for MeshPose
impl UnsafeUnpin for MeshPose
impl UnwindSafe for MeshPose
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