pub struct ShapeFrame {
pub weight: f32,
pub first: usize,
pub count: usize,
pub normals: bool,
pub tangents: bool,
}Expand description
One frame of a blend shape (m_Shapes.shapes, its fullWeights entry): the weight it is at, its entries
(count from first in MeshShapes::vertices) and whether they carry normal and tangent deltas.
Fields§
§weight: f32The weight the frame is at (fullWeights).
first: usizeIndex of the frame’s first entry in MeshShapes::vertices.
count: usizeHow many entries the frame has.
normals: boolWhether the entries carry normal deltas (hasNormals).
tangents: boolWhether the entries carry tangent deltas (hasTangents).
Trait Implementations§
Source§impl Clone for ShapeFrame
impl Clone for ShapeFrame
Source§impl Debug for ShapeFrame
impl Debug for ShapeFrame
Source§impl PartialEq for ShapeFrame
impl PartialEq for ShapeFrame
impl StructuralPartialEq for ShapeFrame
Auto Trait Implementations§
impl Freeze for ShapeFrame
impl RefUnwindSafe for ShapeFrame
impl Send for ShapeFrame
impl Sync for ShapeFrame
impl Unpin for ShapeFrame
impl UnsafeUnpin for ShapeFrame
impl UnwindSafe for ShapeFrame
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