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)
This commit is contained in:
2004-04-02 19:53:53 +00:00
parent a234885db8
commit 7707bceec3
2 changed files with 14 additions and 1 deletions

View File

@@ -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.
"""

View File

@@ -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