HappyDoc Generated Documentation Class: Texturer

. / Texturer / Texturer 

Methods   
  setColor 
setColor (
        self,
        index,
        color,
        )

set color of texture region associated with index

Exceptions   

KeyError, "No texture region named " + index
ValueError, "Color tuple wrong size"

  color 
color ( self,  index )

return texture coordinate associated with index

  mapName 
mapName (
        self,
        index,
        name,
        )

associate a mnemonic name with texture index index parameter ranges starts at 1, not 0

  __init__ 
__init__ (
        self,
        maxColors,
        name=None,
        withAlpha=0,
        )

also must define self.textureColors as a list of texture coordinates the user can access


This document was automatically generated Thu Nov 09 13:33:39 2006 by HappyDoc version 3.0.a1