| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
NewMaterial
Spyder-generated class
module tarantula
file /home/sjoerd/Spyder-devel/tarantula/material.spy
This class defines object materials
A new material must be defined as NewMaterial
and then show()'ed
Within an object, its material can then be
defined to as Material(name)
Any material can be accessed as
Spyder.tarantula.get_material(name)
Currently, only the color property is implemented
Textures and transparency will be implemented soon
http://www.spyderware.nl/wiki/classes/NewMaterial
>>> #assert color != None or texture != None ## will be enabled when textures are supported assert color != None >>>
>>> DEFAULT color (0,0,0) TYPE color required TYPE texture none TYPE transparency none >>>
|
|||
|
Inherited from |
|||
|
|||
| String | name | ||
| *Color | color | ||
| *Filename | texture | ||
| Float |
transparency = 0
|
||
|
|||
|
Inherited from |
|||
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon May 10 22:45:18 2010 | http://epydoc.sourceforge.net |