Blender Documentation Volume II - Reference Guide: Last modified March 29 2004 S68 | ||
---|---|---|
<<< Previous | Python API Reference | Next >>> |
This object gives access to generic data from all worlds in Blender. Its attributes depend upon its type.
Method Summary | ||
list of three floats | getAmb() Retreives the ambient color of a world object. | |
list of three floats | getHor() Retreives the horizon color of a world object. | |
list of four floats | getMist() Retreives the mist parameters of a world object. | |
int | getMistype() Retreives the mist type of a world object. | |
int | getMode() Retreives the mode of a world object. | |
string | getName() Retreives the name of an world object | |
int | getSkytype() Retreives the skytype of a world object. | |
list of nine floats | getStar() Retreives the star parameters of a world object. | |
list of three floats | getZen() Retreives the zenith color of a world object. | |
PyNone | setAmb(amb) Sets the ambient color of a world object. | |
PyNone | setHor(hor) Sets the horizon color of a world object. | |
PyNone | setMist(mist) Sets the mist parameters of a world object. | |
PyNone | setMistype(mistype) Sets the mist type of a world object. | |
PyNone | setMode(mode) Sets the mode of a world object. | |
PyNone | setName(name) Sets the name of a world object. | |
PyNone | setSkytype(skytype) Sets the skytype of a world object. | |
PyNone | setStar(star) Sets the star parameters of a world object. | |
PyNone | setZen(zen) 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. | |
| 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. |
getAmb() Retreives the ambient color of a world object. This color is a list of 3 floats.
|
getHor() Retreives the horizon color of a world object. This color is a list of 3 floats.
|
getMist() Retreives 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() Retreives the mist type of a world object. The mist type is an integer 0 : quadratic; 1 : linear; 2 : square.
|
getMode() Retreives the mode of a world object. The mode is a combination of 3 bits : Bit 0 : Blend; Bit 1 : Real; Bit 2 : paper.
|
getName() Retreives the name of an world object
|
getSkytype() Retreives the skytype of a world object. The skytype is a combination of 3 bits : Bit 0 : Blend; Bit 1 : Real; Bit 2 : paper.
|
getStar() Retreives 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() Retreives 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.
|
setHor(hor) Sets the horizon color of a 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.
|
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.
|
<<< Previous | Home | Next >>> |
Class World | Up | Module Metaball |