

@property
def color(self):
    if (self._pixel == ffi.NULL):
        raise ValueError('Pixel has expired')
    array = ffi.new('double[]', 4)
    lib.sanpera_pixel_to_doubles(self._pixel, self)
    return RGBColor(*array)

dataset/ETHPy150Open eevee/sanpera/sanpera/pixel_view.py PixelViewPixel.color/VarMisuse@52/71 `array`->`self`