pub struct ShapeVertex {
pub index: u32,
pub position: [f32; 3],
pub normal: [f32; 3],
pub tangent: [f32; 3],
}Expand description
A blend shape entry (m_Shapes.vertices): the delta of vertex index of the mesh, in Unity’s frame.
Fields§
§index: u32The vertex of the mesh the delta applies to.
position: [f32; 3]The position delta.
normal: [f32; 3]The normal delta (zero unless the frame has normals).
tangent: [f32; 3]The tangent delta (zero unless the frame has tangents).
Trait Implementations§
Source§impl Clone for ShapeVertex
impl Clone for ShapeVertex
Source§impl Debug for ShapeVertex
impl Debug for ShapeVertex
Source§impl PartialEq for ShapeVertex
impl PartialEq for ShapeVertex
impl StructuralPartialEq for ShapeVertex
Auto Trait Implementations§
impl Freeze for ShapeVertex
impl RefUnwindSafe for ShapeVertex
impl Send for ShapeVertex
impl Sync for ShapeVertex
impl Unpin for ShapeVertex
impl UnsafeUnpin for ShapeVertex
impl UnwindSafe for ShapeVertex
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