Home | Trees | Indices | Help |
|
---|
|
This object gives access to generic data from all worlds in Blender. Its attributes depend upon its type.
Instance Methods | |||
float |
|
||
None |
|
||
string |
|
||
None |
|
||
Ipo |
|
||
|
|||
|
|||
int |
|
||
None |
|
||
int |
|
||
None |
|
||
int |
|
||
None |
|
||
list of three floats |
|
||
None |
|
||
list of three floats |
|
||
None |
|
||
list of three floats |
|
||
None |
|
||
list of nine floats |
|
||
None |
|
||
list of four floats |
|
||
None |
|
||
list |
|
||
|
|||
|
|||
None |
|
||
|
|||
World |
|
Instance Variables | |
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. |
float |
gravity World physics gravity setting between 0.0 and 25.0 |
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. |
a tuple of Blender MTex objects. |
textures The World's texture list. |
int |
users The number of users this datablock has. |
zen the zenith color of a world object. |
Method Details |
Retrieves the range parameter of a world object.
|
Sets the range parameter of a world object.
|
Retrieves the name of a world object
|
Sets the name of a world object.
|
Get the Ipo associated with this world object, if any.
|
Link an ipo to this world object.
|
Unlink the ipo from this world object.
|
Retrieves the skytype of a world object. The skytype is a combination of 3 bits : Bit 0 : Blend; Bit 1 : Real; Bit 2 : paper.
|
Sets the skytype of a world object. See getSkytype for the semantics of the parameter.
|
Retrieves the mode of a world object. The mode is a combination of 5 bits:
|
Sets the mode of a world object. See getMode for the semantics of the parameter.
|
Retrieves the mist type of a world object. The mist type is an integer 0 : quadratic; 1 : linear; 2 : square.
|
Sets the mist type of a world object. See getMistype for the semantics of the parameter.
|
Retrieves the horizon color of a world object. This color is a list of 3 floats.
|
Sets the horizon color of a world object.
|
Retrieves the zenith color of a world object. This color is a list of 3 floats.
|
Sets the zenith color of a world object.
|
Retrieves the ambient color of a world object. This color is a list of 3 floats.
|
Sets the ambient color of a world object.
|
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
|
Sets the star parameters of a world object. See getStar for the semantics of the parameter.
|
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
|
Sets the mist parameters of a world object. See getMist for the semantics of the parameter.
|
Get a list with this World's script links of type 'event'.
|
Delete script links from this World :). If no list is specified, all script links are deleted.
|
Add a new script link to this World.
|
Make this world active in the current scene.
|
Inserts keytype values in world ipo at curframe. Uses module constants.
|
Make a copy of this world
|
Instance Variable Details |
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.
|
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 use Blender.sys.expandpath
|
mistthe mist parameters of a world object. See getMist for the semantics of these parameters. |
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 lib. Note: Setting a value longer then 21 characters will be shortened
|
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.
|
texturesThe World's texture list. Empty texture channels contains None.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Mon Aug 31 23:12:25 2009 | http://epydoc.sourceforge.net |