Ejemplo n.º 1
0
    public float[] getTimeProgressions()
    {
        int nModels = XmmInterface.getNbOfModels();

        float[] timeProgressions       = new float[nModels];
        IntPtr  intPtrTimeProgressions = XmmInterface.getTimeProgressions();

        Marshal.Copy(intPtrTimeProgressions, timeProgressions, 0, nModels);
        return(timeProgressions);
    }
Ejemplo n.º 2
0
    public float[] GetTimeProgressions()
    {
        XmmInterface.setCurrentModelInstance(thisIndex);

        int nModels = XmmInterface.getNbOfModels();

        float[] timeProgressions       = new float[nModels];
        IntPtr  intPtrTimeProgressions = XmmInterface.getTimeProgressions();

        Marshal.Copy(intPtrTimeProgressions, timeProgressions, 0, nModels);
        return(timeProgressions);
    }