pub struct MeshShapes {
pub channels: Vec<ShapeChannel>,
pub frames: Vec<ShapeFrame>,
pub vertices: Vec<ShapeVertex>,
}Expand description
A mesh’s blend shapes as stored (m_Shapes): per channel its frames in increasing weight (Unity’s weights run 0 to
100), per frame sparse deltas of the mesh’s vertices, applied to the mesh as stored before any skin.
Fields§
§channels: Vec<ShapeChannel>The channels (m_Shapes.channels).
frames: Vec<ShapeFrame>Every channel’s frames, one after another (m_Shapes.shapes with fullWeights).
vertices: Vec<ShapeVertex>The frames’ entries, one frame after another (m_Shapes.vertices).
Trait Implementations§
Source§impl Clone for MeshShapes
impl Clone for MeshShapes
Source§impl Debug for MeshShapes
impl Debug for MeshShapes
Source§impl PartialEq for MeshShapes
impl PartialEq for MeshShapes
impl StructuralPartialEq for MeshShapes
Auto Trait Implementations§
impl Freeze for MeshShapes
impl RefUnwindSafe for MeshShapes
impl Send for MeshShapes
impl Sync for MeshShapes
impl Unpin for MeshShapes
impl UnsafeUnpin for MeshShapes
impl UnwindSafe for MeshShapes
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