Module morph

Source

Structs§

MeshMorphWeights
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 the MorphWeights component on a parent entity.
MorphAttributes
Attributes differences used for morph targets.
MorphTargetImage
An image formatted for use with MorphWeights for rendering the morph target.
MorphWeights
Controls the morph targets for all child Mesh3d entities. In most cases, MorphWeights should be considered the “source of truth” when writing morph targets for meshes. However you can choose to write child MeshMorphWeights if your situation requires more granularity. Just note that if you set MorphWeights, it will overwrite child MeshMorphWeights values.

Enums§

MorphBuildError

Constants§

MAX_MORPH_WEIGHTS
Max target count available for morph targets.