Index: source/blender/python/api2_2x/doc/Lamp.py =================================================================== --- source/blender/python/api2_2x/doc/Lamp.py (revision 16014) +++ source/blender/python/api2_2x/doc/Lamp.py (working copy) @@ -500,6 +500,34 @@ @param ipo: a "lamp data" ipo. """ + def setTexture(index, texture, texco, mapto): + """ + Assign a Blender Texture object to slot number 'number'. + @type index: int + @param index: lamp's texture index in [0, 9]. + @type texture: Blender Texture + @param texture: a Blender Texture object. + @type texco: int + @param texco: optional ORed bitflag -- defaults to TexCo.ORCO. See TexCo var in L{Texture}. + @type mapto: int + @param mapto: optional ORed bitflag -- defaults to MapTo.COL. See MapTo var in L{Texture}. + """ + + def clearTexture(index): + """ + Clear the ith (given by 'index') texture channel of this lamp. + @type index: int + @param index: lamp's texture channel index in [0, 9]. + """ + + def getTextures (): + """ + Get this Lamp's Texture list. + @rtype: list of MTex + @return: a list of Blender MTex objects. None is returned for each empty + texture slot. + """ + def clearIpo(): """ Unlink the ipo from this Lamp object.