pub struct BindData {
pub object_name: String,
pub skeleton_name: Option<String>,
pub joint_names: Vec<String>,
pub vertex_weights: Vec<VertexWeight>,
pub weights: Vec<f32>,
pub inverse_bind_poses: Vec<Matrix4<f32>>,
}
Fields
object_name: String
skeleton_name: Option<String>
joint_names: Vec<String>
vertex_weights: Vec<VertexWeight>
Vertex weights, for vertex by index in mesh and joint by index in ‘joint_names’ and weight by index in ‘weights’
weights: Vec<f32>
Weight values that are indexed by VertexWeights
inverse_bind_poses: Vec<Matrix4<f32>>
Inverse bind pose matrices listed in order of joint_names Column-major
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BindData
impl Send for BindData
impl Sync for BindData
impl Unpin for BindData
impl UnwindSafe for BindData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more