Пример #1
0
        public static UnityEngine.Color[,] GetInputColorMap(InputSocket socket, Request request)
        {
            if (!socket.IsConnected())
            {
                return(null);
            }
            IColorMapConnection sampler = socket.GetConnectedSocket().Parent as IColorMapConnection;

            if (sampler == null)
            {
                return(null);
            }
            return(sampler.GetColorMap(socket.GetConnectedSocket(), request));
        }
Пример #2
0
 protected override void ThreadFunction()
 {
     _colors = _colorMapSampler.GetColorMap(_colorSamplerRequestSocket, new Request());
 }