Contents

convertToAdditiveUsingRestPose()

Converts animation to additive format by subtracting the skeleton’s rest pose.

Declaration

static func convertToAdditiveUsingRestPose() -> SampledAnimation<Value>.SkeletalAnimationOperation

Return Value

A SampledAnimation.SkeletalAnimationOperation that, when processed, produces a SampledAnimation<JointTransforms> in additive format.

Discussion

Creates a delta animation that represents the difference between this animation and the skeleton’s rest pose. Requires a skeleton to be provided to processAndCreateAnimation(for:operations:name:).

See Also

Converting to additive animation