private void setKeyFrameTransforms(Type type, KeyFrame keyFrame, float[] transformTimes) {
        int index = 0;
        while (Float.floatToIntBits(transformTimes[index]) != Float.floatToIntBits(keyFrame.time)) {
            index++;
        }
        switch (type) {
            case Translation:
                keyFrame.translation = translations[index];
                break;
            case Rotation:
                keyFrame.rotation = rotations[index];
                break;
            case Scale:
                keyFrame.scale = scales[index];
                break;
        }
    }
Verify that the
{@link #times}, {@link #translations}, {@link #rotations}, and
{@link #scales} vectors all have the same length, if present.

@throws AssetLoadException if the lengths differ
jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/TrackData.java