Home | Trees | Index | Help |
|
---|
Module World :: Class World |
|
Method Summary | |
---|---|
World |
Make a copy of this world |
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. | |
None |
Sets the ambient color of a world object. |
None |
Make this world active in the current scene. |
None |
Sets the horizon color of a world object. |
Link an ipo to this world object. | |
None |
Sets the mist parameters of a world object. |
None |
Sets the mist type of a world object. |
None |
Sets the mode of a world object. |
None |
Sets the name of a world object. |
None |
Sets the range parameter of a world object. |
None |
Sets the skytype of a world object. |
None |
Sets the star parameters of a world object. |
None |
Sets the zenith color of a world object. |
Instance Variable Summary | |
---|---|
amb : the ambient color of a world object. | |
bool | fakeUser : When set to True, this datablock wont be removed, even if nothing is
using it. |
hor : the horizon color of a world object. | |
Blender Ipo | ipo : The world type ipo linked to this world object. |
string or None | lib : path to the blend file this datablock is stored in (readonly). |
mist : the mist parameters of a world object. | |
mistype : type of mist : O : quadratic; 1 : linear; 2 : square | |
mode : | |
string | name : unique name within each blend file. |
IDGroup |
properties : Returns an IDGroup reference to this datablocks's ID
Properties. |
skytype : type of the sky. | |
star : the star parameters of a world object. | |
bool | tag : A temporary tag that to flag data as being used within a loop. |
int | users : The number of users this datablock has. |
zen : the zenith color of a world object. |
Method Details |
---|
__copy__()Make a copy of this world
|
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. |
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.
|
horthe horizon color of a world object. |
ipoThe world type ipo linked to this world object.
|
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 useBlender.sys.expandpath
|
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 |
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
|
propertiesReturns anIDGroup reference to this datablocks's ID
Properties.
|
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. |
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.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
zenthe zenith color of a world object. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu May 10 20:32:00 2007 | http://epydoc.sf.net |