pub struct MotionFrame {
pub time: f64,
pub poses: BTreeMap<String, [f64; 16]>,
pub hidden: Vec<String>,
pub opacity: BTreeMap<String, f64>,
pub camera: Option<Camera>,
pub clashing: Vec<String>,
}Expand description
One frame: the occurrences whose pose differs from the document, each as
the delta over its document pose (column-major 4×4, applied over the
node’s own matrix: model = pose × node.matrix); the occurrences a
visibility clip hides; opacities (0..1) a transparency clip sets; the
camera when a camera clip drives it (absolute: eye, target, up, and the
projection); whether parts interfere, and which.
Fields§
§time: f64§poses: BTreeMap<String, [f64; 16]>§opacity: BTreeMap<String, f64>§camera: Option<Camera>§clashing: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for MotionFrame
impl Clone for MotionFrame
Source§impl Debug for MotionFrame
impl Debug for MotionFrame
Source§impl Default for MotionFrame
impl Default for MotionFrame
Source§impl<'de> Deserialize<'de> for MotionFrame
impl<'de> Deserialize<'de> for MotionFrame
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
Source§impl PartialEq for MotionFrame
impl PartialEq for MotionFrame
Source§impl Serialize for MotionFrame
impl Serialize for MotionFrame
impl StructuralPartialEq for MotionFrame
Auto Trait Implementations§
impl Forget for MotionFrame
impl Freeze for MotionFrame
impl Move for MotionFrame
impl RefUnwindSafe for MotionFrame
impl Send for MotionFrame
impl Sync for MotionFrame
impl Unpin for MotionFrame
impl UnsafeUnpin for MotionFrame
impl UnwindSafe for MotionFrame
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