pub struct RendererSkin {
pub bones: Vec<Option<i64>>,
pub root_bone: Option<i64>,
pub blend_weights: Vec<f32>,
}Expand description
A skinned renderer’s bones: the Transforms (path ids in the renderer’s file) its mesh’s bone slots name, in slot
order, and its root bone; a null entry stays None.
Fields§
§bones: Vec<Option<i64>>m_Bones: the bone Transforms (path ids) in slot order.
root_bone: Option<i64>m_RootBone.
blend_weights: Vec<f32>m_BlendShapeWeights: the weight of each of the mesh’s blend shape channels (0 to 100 for a full shape).
Trait Implementations§
Source§impl Clone for RendererSkin
impl Clone for RendererSkin
Source§impl Debug for RendererSkin
impl Debug for RendererSkin
Source§impl PartialEq for RendererSkin
impl PartialEq for RendererSkin
impl StructuralPartialEq for RendererSkin
Auto Trait Implementations§
impl Freeze for RendererSkin
impl RefUnwindSafe for RendererSkin
impl Send for RendererSkin
impl Sync for RendererSkin
impl Unpin for RendererSkin
impl UnsafeUnpin for RendererSkin
impl UnwindSafe for RendererSkin
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