Module Texture :: Class MTex
[frames | no frames]

Class MTex


The MTex Object

This object links a material to a texture. It allows the same texture to be used in several different ways.
Method Summary
  clearIpo()
Unlink the ipo from this texture object.
Ipo getIpo()
Get the Ipo associated with this texture object, if any.
  setIpo(ipo)
Link an ipo to this texture object.

Class Variable Summary
  mapto: "Map to" field of texture.
Blender Texture tex: The Texture this is linked to.
  texco: Texture coordinates ("Map input").

Method Details

clearIpo()

Unlink the ipo from this texture object.
Returns:
True if there was an ipo linked or False otherwise.

getIpo()

Get the Ipo associated with this texture object, if any.
Returns:
the wrapped ipo or None.
           (type=Ipo)

setIpo(ipo)

Link an ipo to this texture object.
Parameters:
ipo - a "texture data" ipo.
           (type=Blender Ipo)

Class Variable Details

mapto

"Map to" field of texture. OR'd values of MapTo

tex

The Texture this is linked to.
Type:
Blender Texture

texco

Texture coordinates ("Map input"). See TexCo

Generated by Epydoc 2.1 on Tue Jan 4 13:43:05 2005 http://epydoc.sf.net