Home | Trees | Index | Help |
|
---|
Module World :: Class World |
|
Method Summary | |
---|---|
Add a new script link to this World. | |
Unlink the ipo from this world object. | |
Delete script links from this World :). | |
list of three floats |
Retrieves the ambient color of a world object. |
list of three floats |
Retrieves the horizon color of a world object. |
Ipo |
Get the Ipo associated with this world object, if any. |
list of four floats |
Retrieves the mist parameters of a world object. |
int |
Retrieves the mist type of a world object. |
int |
Retrieves the mode of a world object. |
string |
Retrieves the name of a world object |
float |
Retrieves the range parameter of a world object. |
list |
Get a list with this World's script links of type 'event'. |
int |
Retrieves the skytype of a world object. |
list of nine floats |
Retrieves the star parameters of a world object. |
list of three floats |
Retrieves the zenith color of a world object. |
Inserts keytype values in world ipo at curframe. | |
PyNone |
Sets the ambient color of a world object. |
PyNone |
Make this world active in the current scene. |
PyNone |
Sets the horizon color of a world object. |
Link an ipo to this world object. | |
PyNone |
Sets the mist parameters of a world object. |
PyNone |
Sets the mist type of a world object. |
PyNone |
Sets the mode of a world object. |
PyNone |
Sets the name of a world object. |
PyNone |
Sets the range parameter of a world object. |
PyNone |
Sets the skytype of a world object. |
PyNone |
Sets the star parameters of a world object. |
PyNone |
Sets the zenith color of a world object. |
Instance Variable Summary | |
---|---|
amb : the ambient color of a world object. | |
hor : the horizon color of a world object. | |
Blender Ipo | ipo : The world type ipo linked to this world object. |
mist : the mist parameters of a world object. | |
mistype : type of mist : O : quadratic; 1 : linear; 2 : square | |
mode : | |
name : the name of the world. | |
skytype : type of the sky. | |
star : the star parameters of a world object. | |
zen : the zenith color of a world object. |
Method Details |
---|
addScriptLink(text, event)Add a new script link to this World.
|
clearIpo()Unlink the ipo from this world object.
|
clearScriptLinks(links=None)Delete script links from this World :). If no list is specified, all script links are deleted.
|
getAmb()Retrieves the ambient color of a world object. This color is a list of 3 floats.
|
getHor()Retrieves the horizon color of a world object. This color is a list of 3 floats.
|
getIpo()Get the Ipo associated with this world object, if any.
|
getMist()Retrieves the mist parameters of a world object. It is a list of four floats : intensity of the mist start of the mist end of the mist height of the mist
|
getMistype()Retrieves the mist type of a world object. The mist type is an integer 0 : quadratic; 1 : linear; 2 : square.
|
getMode()Retrieves the mode of a world object. The mode is a combination of 5 bits:
|
getName()Retrieves the name of a world object
|
getRange()Retrieves the range parameter of a world object.
|
getScriptLinks(event)Get a list with this World's script links of type 'event'.
|
getSkytype()Retrieves the skytype of a world object. The skytype is a combination of 3 bits : Bit 0 : Blend; Bit 1 : Real; Bit 2 : paper.
|
getStar()Retrieves the star parameters of a world object. It is a list of nine floats : red component of the color green component of the color blue component of the color size of the stars minimal distance between the stars average distance between the stars variations of the stars color
|
getZen()Retrieves the zenith color of a world object. This color is a list of 3 floats.
|
insertIpoKey(keytype)Inserts keytype values in world ipo at curframe. Uses module constants.
|
setAmb(amb)Sets the ambient color of a world object.
|
setCurrent()Make this world active in the current scene.
|
setHor(hor)Sets the horizon color of a world object.
|
setIpo(ipo)Link an ipo to this world object.
|
setMist(mist)Sets the mist parameters of a world object. See getMist for the semantics of the parameter.
|
setMistype(mistype)Sets the mist type of a world object. See getMistype for the semantics of the parameter.
|
setMode(mode)Sets the mode of a world object. See getMode for the semantics of the parameter.
|
setName(name)Sets the name of a world object.
|
setRange(range)Sets the range parameter of a world object.
|
setSkytype(skytype)Sets the skytype of a world object. See getSkytype for the semantics of the parameter.
|
setStar(star)Sets the star parameters of a world object. See getStar for the semantics of the parameter.
|
setZen(zen)Sets the zenith color of a world object.
|
Instance Variable Details |
---|
ambthe ambient color of a world object. |
horthe horizon color of a world object. |
ipoThe world type ipo linked to this world object.
|
mistthe mist parameters of a world object. See getMist for the semantics of these parameters. |
mistypetype of mist : O : quadratic; 1 : linear; 2 : square |
mode |
namethe name of the world. |
skytypetype of the sky. Bit 0 : Blend; Bit 1 : Real; Bit 2 : paper. |
starthe star parameters of a world object. See getStar for the semantics of these parameters. |
zenthe zenith color of a world object. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Jul 13 16:50:05 2006 | http://epydoc.sf.net |