pub struct ShapeChannel {
pub name: String,
pub name_hash: u32,
pub first_frame: usize,
pub frames: usize,
}Expand description
One blend shape channel (m_Shapes.channels): a name, the CRC-32 of it that an animation curve names it by, and its
frames (frames of them from first_frame in MeshShapes::frames).
Fields§
§name: StringThe channel’s name.
name_hash: u32The channel name’s CRC-32, which an animation curve names the channel by.
first_frame: usizeIndex of the channel’s first frame in MeshShapes::frames.
frames: usizeHow many frames the channel has.
Trait Implementations§
Source§impl Clone for ShapeChannel
impl Clone for ShapeChannel
Source§impl Debug for ShapeChannel
impl Debug for ShapeChannel
Source§impl PartialEq for ShapeChannel
impl PartialEq for ShapeChannel
impl StructuralPartialEq for ShapeChannel
Auto Trait Implementations§
impl Freeze for ShapeChannel
impl RefUnwindSafe for ShapeChannel
impl Send for ShapeChannel
impl Sync for ShapeChannel
impl Unpin for ShapeChannel
impl UnsafeUnpin for ShapeChannel
impl UnwindSafe for ShapeChannel
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