Module bevy_render::mesh::morph
source · Structs§
- Control a specific
Mesh
instance’s morph targets. These control the weights of specific “mesh primitives” in scene formats like GLTF. They can be set manually, but in most cases they should “automatically” synced by setting theMorphWeights
component on a parent entity. - Attributes differences used for morph targets.
- Inherit weights from glTF mesh parent entity to direct bevy mesh child entities (ie: glTF primitive).
- An image formatted for use with
MorphWeights
for rendering the morph target. - Controls the morph targets for all child
Handle<Mesh>
entities. In most cases,MorphWeights
should be considered the “source of truth” when writing morph targets for meshes. However you can choose to write childMeshMorphWeights
if your situation requires more granularity. Just note that if you setMorphWeights
, it will overwrite childMeshMorphWeights
values.
Enums§
Constants§
- Max target count available for morph targets.
Functions§
- Bevy meshes are gltf primitives,
MorphWeights
on the bevy node entity should be inherited by children meshes.