Skip to content

anim-format (runtime format) / rigKeyedValue

Function: rigKeyedValue() ​

ts
function rigKeyedValue(
   rig, 
   id, 
   ch, 
   input
): number | undefined;

What a rig's KEYS give one property at a frame — what a bone's formula reads as value, what a Ref of it shows: a bone's posed own value (rest

  • baked keys + extra), a constraint's mix; "@x" / "@y" = where the bone's origin is (the rig's space) and "@parent" = the angle its parent bone points at — what this.x / y / parent read in a bone's formula.

Parameters ​

ParameterType
rigAnimRig
idstring
chstring
inputRigPoseInput

Returns ​

number | undefined

HereSplash — 2D animation for the web