Home | Trees | Index | Help |
|
---|
Module Texture ::
Class Texture
|
|
This object gives access to Texture-specific data in Blender.
Note that many of the attributes of this object are only relevant if specific modes are enabled.Method Summary | |
---|---|
string. |
Get the extend mode of the texture. |
Blender Image |
Get the Image associated with this texture (or None). |
string |
Get the name of this Texture object. |
string |
Get this Texture's type. |
Set the extend mode of this texture (only used for IMAGE textures) | |
Set this object's flags. | |
Set the Image of this texture. | |
Set the Image flags (only makes sense for IMAGE textures). | |
Set the name of this Texture object. | |
Set the SType. | |
Set this Texture's type. |
Class Variable Summary | |
---|---|
animFrames : Frames of the animation. | |
animLength : Length of the animation. | |
animMontage : Montage mode data as a tuple of tuples, like ( (fra1,dur1),
(fra2,dur2), (fra3,dur3), (fra4,dur4) ) | |
animOffset : The number of the first picture of the animation. | |
animStart : Start frame of the animation. | |
brightness : The brightness in range [0,2]. | |
contrast : The contrast in range [0,2]. | |
crop : Tuple of image crop values as floats, like (xmin, ymin, xmax,
ymax) | |
extend : Texture extend/repeat mode. | |
fieldsPerImage : The number of fields per rendered frame. | |
filterSize : The filter size for the image. | |
flags : The texture flags (OR'd together). | |
Blender Image | image : The image associated with this texture, or None. |
imageFlags : The texture image flags (OR'd tegether). | |
name : The Texture name. | |
noiseDepth : The noise depth. | |
noiseSize : The noise size. | |
noiseType : The noise type: 'soft' or 'hard'. | |
repeat : Tuple of image repeat values as ints, like (xrepeat,
yrepeat) | |
rgbCol : The texture's RGB color triplet. | |
stype : Texture-type specific data. | |
type : The Texture type. |
Method Details |
---|
getExtend()Get the extend mode of the texture. SeesetExtend
|
getImage()Get the Image associated with this texture (or None).
|
getName()Get the name of this Texture object.
|
getType()Get this Texture's type.
|
setExtend(extendmode)Set the extend mode of this texture (only used for IMAGE textures)
|
setFlags(f=None, f2=None, f3=None)Set this object's flags.
|
setImage(image)Set the Image of this texture.
|
setImageFlags(f=None, f2=None, f3=None, and_so_on=None)Set the Image flags (only makes sense for IMAGE textures). Omitted flags are cleared.
|
setName(name)Set the name of this Texture object.
|
setSType(stype)Set the SType.
|
setType(type)Set this Texture's type.
|
Class Variable Details |
---|
animFramesFrames of the animation. |
animLengthLength of the animation. |
animMontageMontage mode data as a tuple of tuples, like( (fra1,dur1),
(fra2,dur2), (fra3,dur3), (fra4,dur4) )
|
animOffsetThe number of the first picture of the animation. |
animStartStart frame of the animation. |
brightnessThe brightness in range [0,2]. |
contrastThe contrast in range [0,2]. |
cropTuple of image crop values as floats, like(xmin, ymin, xmax,
ymax)
|
extendTexture extend/repeat mode. SeeExtendModes
|
fieldsPerImageThe number of fields per rendered frame. |
filterSizeThe filter size for the image. |
flagsThe texture flags (OR'd together). SeeFlags
|
imageThe image associated with this texture, or None.
|
imageFlagsThe texture image flags (OR'd tegether). SeeImageFlags
|
nameThe Texture name. |
noiseDepthThe noise depth. |
noiseSizeThe noise size. |
noiseTypeThe noise type: 'soft' or 'hard'. |
repeatTuple of image repeat values as ints, like(xrepeat,
yrepeat)
|
rgbColThe texture's RGB color triplet. |
stypeTexture-type specific data. SeeSTypes
|
typeThe Texture type. SeeTypes
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Feb 2 18:51:06 2004 | http://epydoc.sf.net |