Function blender_armature::interpolate_bone[][src]

pub fn interpolate_bone(start_bone: Bone, end_bone: Bone, amount: f32) -> Bone

Interpolate from the start to the end bone using the given amount between [0.0, 1.0] inclusive.

When the interpolation parameter is 0.0 the start bone is used. At 1.0 the end bone is used.

Panics

Panics of the amount < 0.0 || amount > 1.0