public void ensureTranslationRotations(Transform localTransforms) {
        if (translations == null) {
            translations = new Vector3f[times.length];
            for (int i = 0; i < translations.length; i++) {
                translations[i] = localTransforms.getTranslation();
            }
        }
        if (rotations == null) {
            rotations = new Quaternion[times.length];
            for (int i = 0; i < rotations.length; i++) {
                rotations[i] = localTransforms.getRotation();
            }
        }
        if (scales == null) {
            scales = new Vector3f[times.length];
            for (int i = 0; i < scales.length; i++) {
                scales[i] = localTransforms.getScale();
            }
        }
    }
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