Пример #1
0
        private NativeArray <float> GetTextureNativeArray(RenderTexture gridsRenderTexture, int centerIndex)
        {
            var sliceTexture = _slicer.Copy3DSliceToRenderTexture(gridsRenderTexture, centerIndex);
            var data         = GetTextureNativeArray(sliceTexture);

            return(data);
        }