Example #1
0
        private float[,] GetImgData()
        {
            var data = dataResult.GetData();
            int w    = data.GetLength(0);
            int h    = data.GetLength(1);

            var floatData = new float[w, h];

            for (int i = 0; i < w; i++)
            {
                for (int j = 0; j < h; j++)
                {
                    floatData[i, j] = data[i, j].Value;
                }
            }

            return(floatData);
        }
Example #2
0
 public void GetDataRound()
 {
     Debug.Log("impresion de la data respondida");
     dataResult.GetData();
 }