From 7707bceec3875f7d596e888060eed7dbe81dbdfb Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Fri, 2 Apr 2004 19:53:53 +0000 Subject: 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) --- source/blender/python/api2_2x/doc/Ipo.py | 2 +- source/blender/python/api2_2x/doc/Object.py | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'source/blender/python') 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 -- cgit v1.2.3