Home | Trees | Indices | Help |
|
---|
|
This object gives access to Texture-specific data in Blender.
Note that many of the attributes of this object are only relevant for specific texture types.
Instance Methods | |||
string. |
|
||
Blender Image |
|
||
string |
|
||
string |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Instance Variables | |
int |
animFrames Number of frames of a movie to use. |
int |
animOffset Offsets the number of the first movie frame to use. |
int |
animStart Starting frame of the movie to use. |
int |
anti Image anti-aliasing enabled. |
boolean |
autoRefresh Refresh image on frame changes enabled. |
float |
brightness Changes the brightness of a texture's color. |
int |
calcAlpha Calculation of image's alpha channel enabled. |
list |
colorband Texture colorband, a list of colors, each color a list of 5 floats [0 - 1], [r,g,b,a,pos]. |
float |
contrast Changes the contrast of a texture's color. |
tuple of 4 ints |
crop Sets the cropping extents (for image textures). |
boolean |
cyclic Looping of animated frames enabled. |
float |
distAmnt Amount of distortion (for distorted noise textures). |
int |
distMetric The distance metric (for Voronoi textures). |
float |
exp Minkovsky exponent (for Minkovsky Voronoi textures). |
int |
extend Texture's 'Extend' mode (for image textures). |
bool |
fakeUser When set to True, this datablock wont be removed, even if nothing is using it. |
int |
fields Use of image's fields enabled. |
int |
fieldsPerImage Number of fields per rendered frame. |
float |
filterSize The filter size (for image and envmap textures). |
int |
flags Texture's 'Flag' bitfield. |
float |
gain Gain multiplier (for multifractal Musgrave textures). |
float |
hFracDim Highest fractional dimension (for Musgrave textures). |
float |
iScale Intensity output scale (for Musgrave and Voronoi textures). |
Blender Image (or None) |
image Texture's image object. |
int |
imageFlags Texture's 'ImageFlags' bits. |
int |
interpol Interpolate image's pixels to fit texture mapping enabled. |
Blender Ipo |
ipo Texture Ipo data. |
float |
lacunarity Gap between succesive frequencies (for Musgrave textures). |
string or None |
lib path to the blend file this datablock is stored in (readonly). |
int |
mipmap Mipmaps enabled. |
int |
movie Movie frames as images enabled. |
string |
name unique name within each blend file. |
int |
noiseBasis Noise basis type (wood, stucci, marble, clouds, Musgrave, distorted). |
int |
noiseBasis2 Additional noise basis type (wood, marble, distorted noise). |
int |
noiseDepth Noise depth (magic, marble, clouds). |
float |
noiseSize Noise size (wood, stucci, marble, clouds, Musgrave, distorted noise). |
string |
noiseType Noise type (for wood, stucci, marble, clouds textures). |
int |
normalMap Use of image RGB values for normal mapping enabled. |
float |
octs Number of frequencies (for Musgrave textures). |
float |
offset Fractal offset (for hetero terrain and multifractal Musgrave textures). |
IDGroup |
properties Returns an IDGroup reference to this datablocks's ID Properties. |
tuple of 2 ints |
repeat Repetition multiplier (for image textures). |
tuple of 3 floats |
rgbCol RGB color tuple. |
int |
rot90 X/Y flip for rendering enabled. |
int |
saw Produce bands using saw wave (marble, wood textures). |
int |
sine Produce bands using sine wave (marble, wood textures). |
int |
stField Standard field deinterlacing enabled. |
int |
stype Texture's 'SType' mode. |
bool |
tag A temporary tag that to flag data as being used within a loop. |
int |
tri Produce bands using triangle wave (marble, wood textures). |
float |
turbulence Turbulence (for magic, wood, stucci, marble textures). |
int |
type Texture's 'Type' mode. |
int |
useAlpha Use of image's alpha channel enabled. |
int |
useColorband Use colorband for this texture. |
int |
users The number of users this datablock has. |
float |
weight1 Weight 1 (for Voronoi textures). |
float |
weight2 Weight 2 (for Voronoi textures). |
float |
weight3 Weight 3 (for Voronoi textures). |
float |
weight4 Weight 4 (for Voronoi textures). |
Method Details |
Get the extend mode of the texture. See setExtend.
|
Get this Texture's type. See setType.
|
Set the extend mode of this texture (only used for IMAGE textures)
|
Set this object's flags.
|
Set the Image of this texture.
Warning: This sets the texture's type to 'Image' if it is not already. |
Set the Image flags (only makes sense for IMAGE textures). Omitted flags are cleared.
|
Set the name of this Texture object.
|
Set the SType.
Note: the set of valid parameters is dependent on the current texture type. Be sure to always set the texture type before setting the texture's stype; otherwise an exception might occur. |
Set this Texture's type.
|
Evaluates the texture at this location and returns the result. The return value is a 4D vector where (x,y,z,w) are (red, green, blue, intensity) For greyscale textures, often intensity only will be used.
|
Instance Variable Details |
animFramesNumber of frames of a movie to use. Value is clamped to the range [0,300000].
|
animOffsetOffsets the number of the first movie frame to use. Value is clamped to the range [-300000,300000].
|
animStartStarting frame of the movie to use. Value is clamped to the range [1,300000].
|
antiImage anti-aliasing enabled. Also see ImageFlags.
|
brightnessChanges the brightness of a texture's color. Value is clamped to the range [0.0,2.0].
|
calcAlphaCalculation of image's alpha channel enabled. Also see ImageFlags.
|
colorbandTexture 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.
|
contrastChanges the contrast of a texture's color. Value is clamped to the range [0.01,5.0].
|
cyclicLooping of animated frames enabled. Also see ImageFlags.
|
distAmntAmount of distortion (for distorted noise textures). Value is clamped to the range [0.0,10.0].
|
expMinkovsky exponent (for Minkovsky Voronoi textures). Value is clamped to the range [0.01,10.0].
|
extendTexture's 'Extend' mode (for image textures). See ExtendModes.
|
fakeUserWhen set to True, this datablock wont be removed, even if nothing is using it. All data has this disabled by default except for Actions.
|
fieldsUse of image's fields enabled. Also see ImageFlags.
|
fieldsPerImageNumber of fields per rendered frame. Value is clamped to the range [1,200].
|
filterSizeThe filter size (for image and envmap textures). Value is clamped to the range [0.1,25.0].
|
flagsTexture's 'Flag' bitfield. See Flags. bitmask.
|
gainGain multiplier (for multifractal Musgrave textures). Value is clamped to the range [0.0,6.0].
|
hFracDimHighest fractional dimension (for Musgrave textures). Value is clamped to the range [0.0001,2.0].
|
iScaleIntensity output scale (for Musgrave and Voronoi textures). Value is clamped to the range [0.0,10.0].
|
interpolInterpolate image's pixels to fit texture mapping enabled. Also see ImageFlags.
|
ipoTexture Ipo data. Contains the Ipo if one is assigned to the object, None otherwise. Setting to None clears the current Ipo..
|
lacunarityGap between succesive frequencies (for Musgrave textures). Value is clamped to the range [0.0,6.0].
|
libpath to the blend file this datablock is stored in (readonly).lib will be None unless you are using external blend files with (File, Append/Link) Note: the path may be relative, to get the full path use Blender.sys.expandpath
|
mipmapMipmaps enabled. Also see ImageFlags.
|
movieMovie frames as images enabled. Also see ImageFlags.
|
nameunique name within each blend file.The name is case sensitive and 21 characters maximum length. Note: a blend file may have naming collisions when external library data is used, be sure to check the value of lib. Note: Setting a value longer then 21 characters will be shortened
|
noiseBasisNoise basis type (wood, stucci, marble, clouds, Musgrave, distorted). See Noise dictionary.
|
noiseBasis2Additional noise basis type (wood, marble, distorted noise). See Noise dictionary.
|
noiseDepthNoise depth (magic, marble, clouds). Value is clamped to the range [0,6].
|
noiseSizeNoise size (wood, stucci, marble, clouds, Musgrave, distorted noise). Value is clamped to the range [0.0001,2.0].
|
noiseTypeNoise type (for wood, stucci, marble, clouds textures). Valid values are 'hard' or 'soft'.
|
normalMapUse of image RGB values for normal mapping enabled. Also see ImageFlags.
|
octsNumber of frequencies (for Musgrave textures). Value is clamped to the range [0.0,8.0].
|
offsetFractal offset (for hetero terrain and multifractal Musgrave textures). Value is clamped to the range [0.0,6.0].
|
rot90X/Y flip for rendering enabled. Also see ImageFlags.
|
sawProduce bands using saw wave (marble, wood textures). Also see Noise.
|
sineProduce bands using sine wave (marble, wood textures). Also see Noise.
|
stFieldStandard field deinterlacing enabled. Also see ImageFlags.
|
stypeTexture's 'SType' mode. See STypes.
|
tagA temporary tag that to flag data as being used within a loop. always set all tags to True or False before using since blender uses this flag for its own internal operations.
|
triProduce bands using triangle wave (marble, wood textures). Also see Noise.
|
turbulenceTurbulence (for magic, wood, stucci, marble textures). Value is clamped to the range [0.0,200.0].
|
typeTexture's 'Type' mode. See Types. Value must be in the range [0,13].
|
useAlphaUse of image's alpha channel enabled. Also see ImageFlags.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
weight1Weight 1 (for Voronoi textures). Value is clamped to the range [-2.0,2.0].
|
weight2Weight 2 (for Voronoi textures). Value is clamped to the range [-2.0,2.0].
|
weight3Weight 3 (for Voronoi textures). Value is clamped to the range [-2.0,2.0].
|
weight4Weight 4 (for Voronoi textures). Value is clamped to the range [-2.0,2.0].
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Mon Aug 31 23:12:24 2009 | http://epydoc.sourceforge.net |