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/Camera.py')
-rw-r--r--source/blender/python/api2_2x/doc/Camera.py29
1 files changed, 22 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/doc/Camera.py b/source/blender/python/api2_2x/doc/Camera.py
index a9fd6bf7a4b..77e2cf3830f 100644
--- a/source/blender/python/api2_2x/doc/Camera.py
+++ b/source/blender/python/api2_2x/doc/Camera.py
@@ -54,6 +54,8 @@ class Camera:
@cvar clipStart: The clip start value in [0.0, 100.0].
@cvar clipEnd: The clip end value in [1.0, 5000.0].
@cvar drawSize: The draw size value in [0.1, 10.0].
+ @type ipo: Blender Ipo
+ @cvar ipo: The "camera data" ipo linked to this camera data object.
@warning: Most member variables assume values in some [Min, Max] interval.
When trying to set them, the given parameter will be clamped to lie in
that range: if val < Min, then val = Min, if val > Max, then val = Max.
@@ -64,13 +66,6 @@ class Camera:
Get the name of this Camera Data object.
@rtype: string
"""
- def getIpo():
- """
- Retreives the Ipo (if any) of a camera object
- @rtype: Ipo object
- @return: the Ipo of the camera object.
- """
-
def setName(name):
"""
@@ -79,6 +74,26 @@ class Camera:
@param name: The new name.
"""
+ def getIpo():
+ """
+ Get the Ipo associated with this camera data object, if any.
+ @rtype: Ipo
+ @return: the wrapped ipo or None.
+ """
+
+ def setIpo(ipo):
+ """
+ Link an ipo to this camera data object.
+ @type ipo: Blender Ipo
+ @param ipo: a "camera data" ipo.
+ """
+
+ def clearIpo():
+ """
+ Unlink the ipo from this camera data object.
+ @return: True if there was an ipo linked or False otherwise.
+ """
+
def getType():
"""
Get this Camera's type.