Added python access to material and texture colorbands.

mat.colorbandDiffuse
	mat.colorbandSpecular
	tex.colorband

gen_utils - removed unused func
This commit is contained in:
2007-03-08 06:35:01 +00:00
parent 4bd5ab628b
commit 8e0704f59a
7 changed files with 193 additions and 21 deletions

View File

@@ -381,6 +381,10 @@ class Texture:
@ivar weight4: Weight 4 (for Voronoi textures).
Value is clamped to the range [-2.0,2.0].
@type weight4: float
@ivar colorband: Texture colorband, a list of colors,
each color a list of 5 floats [0 - 1], [r,g,b,a,pos].
The colorband can have between 1 and 31 colors.
@type colorband: list
"""
def getExtend():