예제 #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());
 }