pub enum Pose {
Rest,
Animation {
index: usize,
time: f32,
},
Bind,
}Expand description
Which pose Document::flatten draws.
Variants§
Rest
The nodes’ own transforms and morph weights.
Animation
Animation index at time seconds: the channels it has override the rest pose; before
its first key or after its last, the first or last value holds.
Fields
Bind
As Rest, but skinned meshes as their files store them: in the pose they were bound in,
their vertices not moved by their joints, and the skeleton where the inverse bind matrices
put it. Joints and weights still come with them, to pose with your own skinning. Quicker
than Rest on skinned meshes, and the same wherever the nodes stand as they were bound.
Trait Implementations§
impl Copy for Pose
impl StructuralPartialEq for Pose
Auto Trait Implementations§
impl Forget for Pose
impl Freeze for Pose
impl Move for Pose
impl RefUnwindSafe for Pose
impl Send for Pose
impl Sync for Pose
impl Unpin for Pose
impl UnsafeUnpin for Pose
impl UnwindSafe for Pose
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