Skip to content
Snippets Groups Projects
Commit 7707bcee authored by Michel Selten's avatar Michel Selten
Browse files

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)
parent a234885d
No related branches found
No related tags found
No related merge requests found
...@@ -234,7 +234,7 @@ class IpoCurve: ...@@ -234,7 +234,7 @@ class IpoCurve:
def getName(): 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 @rtype: string
@return: the name of the ipo curve. @return: the name of the ipo curve.
""" """
......
...@@ -295,6 +295,12 @@ class Object: ...@@ -295,6 +295,12 @@ class Object:
@return: (SizeX, SizeY, SizeZ) @return: (SizeX, SizeY, SizeZ)
""" """
def getTimeOffset():
"""
Returns the time offset of the object's animation.
@return: TimeOffset
"""
def getTracked(): def getTracked():
""" """
Returns the object's tracked object. Returns the object's tracked object.
...@@ -439,6 +445,13 @@ class Object: ...@@ -439,6 +445,13 @@ class Object:
@param z: The Z size multiplier. @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): def shareFrom(object):
""" """
Link data of self with object specified in the argument. This works only Link data of self with object specified in the argument. This works only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment