maybeTransform method
Implementation
Matrix4 maybeTransform(int nodeIndex, Matrix4 transform) {
final animation = animationRef?.nodes[nodeIndex];
if (animation == null) {
return transform;
}
final result = transform.clone();
animation.sampleInto(clock, result);
return result;
}