示例#1
0
        public override UnityEngine.Color GetColour(double x, double y)
        {
            // Read:
            Color colour = SourceModule.GetColour(x, y);

            // Get:
            float channel = LabRgb.A(colour.r, colour.g, colour.b);

            return(new Color(channel, channel, channel, 1f));
        }
示例#2
0
        public override double GetValue(double x, double y)
        {
            // Read:
            Color colour = SourceModule.GetColour(x, y);

            // Get:
            float channel = LabRgb.A(colour.r, colour.g, colour.b);

            return(channel);
        }