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. | |
bool |
Delete all this World's script links! |
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 an 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. |
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. |
Class 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()Delete all this World's script links!
|
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 3 bits : Bit 0 : Blend; Bit 1 : Real; Bit 2 : paper.
|
getName()Retrieves the name of an 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.
|
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.
|
Class 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 Tue Jan 4 13:43:06 2005 | http://epydoc.sf.net |