From 9c9babfa7032b443138c4b457aabaf79fad385b3 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Fri, 26 Nov 2010 00:07:14 -0500 Subject: Add PixelMapper functionality to abstract away from mapping locations->Pixels. --- operationscore/PixelEvent.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'operationscore/PixelEvent.py') diff --git a/operationscore/PixelEvent.py b/operationscore/PixelEvent.py index 07669cd..8567d93 100644 --- a/operationscore/PixelEvent.py +++ b/operationscore/PixelEvent.py @@ -8,6 +8,8 @@ class PixelEvent(SmootCoreObject): self.initEvent() def initEvent(self): pass + def scale(c): + self['Color'] *= c def state(self,timeDelay): pass -- cgit v1.2.3