diff options
author | Ken Hughes <khughes@pacific.edu> | 2005-12-05 08:23:35 +0300 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2005-12-05 08:23:35 +0300 |
commit | bf05bbef869cb8c272df3cc3079d5ee51d1529b7 (patch) | |
tree | 37ec172d1ff12d216bb8f3875dba5b2550334874 /source/blender/python/api2_2x/doc/Ipo.py | |
parent | 00ce7c629f1ce972c57c9a871b4f892de45ed93d (diff) |
Fix unchecked parameter in M_Ipo_Recalc, and some documentation fixes.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Ipo.py')
-rw-r--r-- | source/blender/python/api2_2x/doc/Ipo.py | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/source/blender/python/api2_2x/doc/Ipo.py b/source/blender/python/api2_2x/doc/Ipo.py index 4244f89a9d5..d2b8d97b69c 100644 --- a/source/blender/python/api2_2x/doc/Ipo.py +++ b/source/blender/python/api2_2x/doc/Ipo.py @@ -232,7 +232,8 @@ class Ipo: def getCurveCurval(curvepos): """ - Gets the current value of a curve of the Ipo. + Gets the current value of a curve of the Ipo (B{deprecated}). B{Note}: + new scripts should use L{IpoCurve.evaluate()}. @type curvepos: int or string @param curvepos: the position of the curve in the ipo or the name of the curve @@ -242,11 +243,12 @@ class Ipo: def EvaluateCurveOn(curvepos,time): """ - Gets the current value of a curve of the Ipo. + Gets the value at a specific time of a curve of the Ipo (B{deprecated}). + B{Note}: new scripts should use L{IpoCurve.evaluate()}. @type curvepos: int - @param curvepos: the position of the curve in the ipo + @param curvepos: the position of the curve in the Ipo. @type time: float - @param time: the position of the curve in the ipo + @param time: the desired time. @rtype: float @return: the current value of the selected curve of the Ipo at the given time. @@ -261,27 +263,19 @@ class IpoCurve: Important Notes for Rotation Curves:\n For the rotation IpoCurves, the y values for points are in units of 10 degrees. For example, 45.0 degrees is stored as 4.50 degrees. These are the same numbers you see in the Transform Properties pupmenu ( NKey ) in the IPO Curve Editor window. Positive rotations are in a counter-clockwise direction, just like in math class. - @ivar driver: Status of Driver - 1: on - 0: off - @type driver: int - @ivar driverObject: Object Used to Drive the IpoCurve - @type driverObject: Object - @ivar driverChannel: Object Channel Used to Drive the IpoCurve - Use module constants - IpoCurve.LOC_X - IpoCurve.LOC_Y - IpoCurve.LOC_Z - IpoCurve.ROT_X - IpoCurve.ROT_Y - IpoCurve.ROT_Z - IpoCurve.SIZE_X - IpoCurve.SIZE_Y - IpoCurve.SIZE_Z + @ivar driver: Status of Driver. 1= on, 0= off. + @type driver: int + @ivar driverObject: Object used to frive the IpoCurve. + @type driverObject: Object + @ivar driverChannel: Object Channel Used to Drive the IpoCurve. + Use module constants: IpoCurve.LOC_X, IpoCurve.LOC_Y, IpoCurve.LOC_Z, + IpoCurve.ROT_X, IpoCurve.ROT_Y, IpoCurve.ROT_Z, IpoCurve.SIZE_X, + IpoCurve.SIZE_Y, IpoCurve.SIZE_Z @type driverChannel: int - @ivar name: The Curve Data name. + @type name: string @ivar bezierPoints : The list of the Bezier points. + @type bezierPoints : list """ def setExtrapolation(extendmode): |