Package fife :: Module fife :: Class LightRenderer
[hide private]
[frames] | no frames]

Class LightRenderer

source code

 _object --+    
           |    
RendererBase --+
               |
              LightRenderer

Proxy of C++ FIFE::LightRenderer class

Instance Methods [hide private]
 
__repr__(self) source code
 
__init__(self, *args)
__init__(self, RenderBackend renderbackend, int position, ImagePool imagepool, ...
source code
string
getName(self) source code
 
getInstance(*args)
getInstance(IRendererContainer cnt) -> LightRenderer
source code
 
addImage(self, *args)
addImage(self, string group, LightRendererNode n, int image, int src = -1, ...
source code
 
addAnimation(self, *args)
addAnimation(self, string group, LightRendererNode n, int animation, int src = -1, ...
source code
 
addSimpleLight(self, *args)
addSimpleLight(self, string group, LightRendererNode n, uint8_t intensity, ...
source code
 
resizeImage(self, *args)
resizeImage(self, string group, LightRendererNode n, int image, int width, ...
source code
 
addStencilTest(self, *args)
addStencilTest(self, string group, uint8_t stencil_ref = 0, float alpha_ref = 0.0) addStencilTest(self, string group, uint8_t stencil_ref = 0) addStencilTest(self, string group)
source code
 
removeStencilTest(self, *args)
removeStencilTest(self, string group)
source code
StringList
getGroups(self) source code
 
getLightInfo(self, *args)
getLightInfo(self, string group) -> LightRendererElementInfoVector
source code
 
removeAll(self, *args)
removeAll(self, string group)
source code

Inherited from RendererBase: activateAllLayers, addActiveLayer, clearActiveLayers, getActiveLayers, getPipelinePosition, isEnabled, removeActiveLayer, setEnabled, setPipelinePosition

Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_LightRenderer
  __del__ = lambda self:
Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
Overrides: _swig_repr

__init__(self, *args)
(Constructor)

source code 

__init__(self, RenderBackend renderbackend, int position, ImagePool imagepool, 
    AnimationPool animpool) -> LightRenderer

Overrides: RendererBase.__init__

getName(self)

source code 
Returns: string
Overrides: RendererBase.getName

addImage(self, *args)

source code 

addImage(self, string group, LightRendererNode n, int image, int src = -1, 
    int dst = -1)
addImage(self, string group, LightRendererNode n, int image, int src = -1)
addImage(self, string group, LightRendererNode n, int image)

addAnimation(self, *args)

source code 

addAnimation(self, string group, LightRendererNode n, int animation, int src = -1, 
    int dst = -1)
addAnimation(self, string group, LightRendererNode n, int animation, int src = -1)
addAnimation(self, string group, LightRendererNode n, int animation)

addSimpleLight(self, *args)

source code 

addSimpleLight(self, string group, LightRendererNode n, uint8_t intensity, 
    float radius, int subdivisions, float xstretch, 
    float ystretch, uint8_t r, uint8_t g, uint8_t b, 
    int src = -1, int dst = -1)
addSimpleLight(self, string group, LightRendererNode n, uint8_t intensity, 
    float radius, int subdivisions, float xstretch, 
    float ystretch, uint8_t r, uint8_t g, uint8_t b, 
    int src = -1)
addSimpleLight(self, string group, LightRendererNode n, uint8_t intensity, 
    float radius, int subdivisions, float xstretch, 
    float ystretch, uint8_t r, uint8_t g, uint8_t b)

resizeImage(self, *args)

source code 

resizeImage(self, string group, LightRendererNode n, int image, int width, 
    int height, int src = -1, int dst = -1)
resizeImage(self, string group, LightRendererNode n, int image, int width, 
    int height, int src = -1)
resizeImage(self, string group, LightRendererNode n, int image, int width, 
    int height)