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:
authorMichel Selten <michel@mselten.demon.nl>2004-04-02 23:53:53 +0400
committerMichel Selten <michel@mselten.demon.nl>2004-04-02 23:53:53 +0400
commit7707bceec3875f7d596e888060eed7dbe81dbdfb (patch)
treed4807e40a2e43d1301555c657a7c8ec8f7f07bc7 /source/blender/python
parenta234885db8bcfe58f50346b4fac3335f1d56adb1 (diff)
Anders Nilsson has promissed me to provide some updated Python API docs :)
Python API documentation updates for the Object and Ipo modules. Provided by Anders Nilsson (breakin)
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/api2_2x/doc/Ipo.py2
-rw-r--r--source/blender/python/api2_2x/doc/Object.py13
2 files changed, 14 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/doc/Ipo.py b/source/blender/python/api2_2x/doc/Ipo.py
index 272d96311b0..5309ba61252 100644
--- a/source/blender/python/api2_2x/doc/Ipo.py
+++ b/source/blender/python/api2_2x/doc/Ipo.py
@@ -234,7 +234,7 @@ class IpoCurve:
def getName():
"""
- Returns the name of the ipo curve.This name can be : LocX,LocY,LocZ,dLocX,dLocY,dLocZ,RotX,RotY,RotZ,dRotX,dRotY,dRotZ,SizeX,SizeY,SizeZ,dSizeX,dSizeY,dSizeZ,Layer,Time,ColR,ColG,ColB, or ColA.
+ Returns the name of the ipo curve.This name can be : LocX,LocY,LocZ,dLocX,dLocY,dLocZ,RotX,RotY,RotZ,dRotX,dRotY,dRotZ,SizeX,SizeY,SizeZ,dSizeX,dSizeY,dSizeZ,Layer,Time,ColR,ColG,ColB,ColA,QuatX,QuatY,QuatZ,QuatW or TotIpo. Currently only works with object and action IPO's..
@rtype: string
@return: the name of the ipo curve.
"""
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py
index 39e625e8a62..7a2d7e8e30b 100644
--- a/source/blender/python/api2_2x/doc/Object.py
+++ b/source/blender/python/api2_2x/doc/Object.py
@@ -295,6 +295,12 @@ class Object:
@return: (SizeX, SizeY, SizeZ)
"""
+ def getTimeOffset():
+ """
+ Returns the time offset of the object's animation.
+ @return: TimeOffset
+ """
+
def getTracked():
"""
Returns the object's tracked object.
@@ -439,6 +445,13 @@ class Object:
@param z: The Z size multiplier.
"""
+ def setTimeOffset(timeOffset):
+ """
+ Sets the time offset of the object's animation.
+ @type timeOffset: float
+ @param timeOffset: The new time offset for the object's animation.
+ """
+
def shareFrom(object):
"""
Link data of self with object specified in the argument. This works only