Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/api2_2x/doc/World.py')
-rw-r--r--source/blender/python/api2_2x/doc/World.py30
1 files changed, 22 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/doc/World.py b/source/blender/python/api2_2x/doc/World.py
index 67a14fb4428..7cda8c853fd 100644
--- a/source/blender/python/api2_2x/doc/World.py
+++ b/source/blender/python/api2_2x/doc/World.py
@@ -52,6 +52,8 @@ class World:
@cvar amb: the ambient color of a world object.
@cvar star: the star parameters of a world object. See getStar for the semantics of these parameters.
@cvar mist: the mist parameters of a world object. See getMist for the semantics of these parameters.
+ @type ipo: Blender Ipo
+ @cvar ipo: The world type ipo linked to this world object.
"""
def getName():
@@ -61,14 +63,6 @@ class World:
@return: the name of the world object.
"""
- def getIpo():
- """
- Retreives the Ipo (if any) of an world object
- @rtype: Ipo object
- @return: the Ipo of the world object.
- """
-
-
def setName(name):
"""
Sets the name of a world object.
@@ -78,6 +72,26 @@ class World:
@return: PyNone
"""
+ def getIpo():
+ """
+ Get the Ipo associated with this world object, if any.
+ @rtype: Ipo
+ @return: the wrapped ipo or None.
+ """
+
+ def setIpo(ipo):
+ """
+ Link an ipo to this world object.
+ @type ipo: Blender Ipo
+ @param ipo: a "camera data" ipo.
+ """
+
+ def clearIpo():
+ """
+ Unlink the ipo from this world object.
+ @return: True if there was an ipo linked or False otherwise.
+ """
+
def getSkytype():
"""
Retreives the skytype of a world object.