Skip to content

hm5-types (source format) / BoneChannel

Type Alias: BoneChannel ​

ts
type BoneChannel = "x" | "y" | "rotation" | "scaleX" | "scaleY" | "length";

what a bone key can change. Values are OFFSETS from the rest pose (Spine): "x" / "y" / "rotation" / "length" are added, "scaleX" / "scaleY" multiply. A channel without keys = the rest pose.

HereSplash — 2D animation for the web