Function bevy_render::mesh::morph::inherit_weights
source · pub fn inherit_weights(
morph_nodes: Query<'_, '_, (&Children, &MorphWeights), (Without<Handle<Mesh>>, Changed<MorphWeights>)>,
morph_primitives: Query<'_, '_, &mut MeshMorphWeights, With<Handle<Mesh>>>
)
Expand description
Bevy meshes are gltf primitives, MorphWeights
on the bevy node entity
should be inherited by children meshes.
Only direct children are updated, to fulfill the expectations of glTF spec.