@Override
    protected void serialize(int i, Float data) {
        array[i] = data;
    }
creates a compact vector array
@param dataArray the data array
@param index the indices
jme3-core/src/main/java/com/jme3/animation/CompactFloatArray.java