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)); }
protected override void ThreadFunction() { _colors = _colorMapSampler.GetColorMap(_colorSamplerRequestSocket, new Request()); }