API Doc for new Object attributes trackAxis and upAxis.

contributed by Cedric Paille.  Thanks!

Fix broken indentation in Constraint doc.
This commit is contained in:
Stephen Swaney
2008-04-09 07:27:37 +00:00
parent 9aa985abe6
commit d30cc5f2d8
2 changed files with 8 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
"""
The Blender.Constraint submodule
B{New}:
B{New}:
- provides access to Blender's constraint stack
This module provides access to the Constraint Data in Blender.
@@ -38,11 +38,10 @@ Or to print all the constraints attached to each bone in a pose::
@var Settings: Constant dict used for changing constraint settings.
- Used for all single-target constraints
(TRACKTO, FOLLOWPATH, COPYROT, COPYLOC, COPYSIZE, ACTION, LOCKTRACK, STRETCHTO, FLOOR, CLAMPTO, CHILDOF, TRANSFORM, LIMITDIST)
- TARGET (Object): target object
- BONE (string): name of Bone sub-target (for Armature targets), or name of Vertex Group sub-target
- TARGET (Object): target object
- BONE (string): name of Bone sub-target (for Armature targets), or name of Vertex Group sub-target
(for Geometry targets)
- Used for all multiple-target constraints
(PYTHON)
- Used for all multiple-target constraints (PYTHON)
- TARGET (list of Objects): list of target objects, with one list slot = one target slot
- BONE (list of strings): list of names of Bone sub-target (for Armature targets) or name of Vertex Group
sub-targets (for Geometry targets)

View File

@@ -636,6 +636,10 @@ class Object:
@ivar rbShapeBoundType: Rigid body shape bound type. See L{RBShapes}
const dict for values.
@type rbShapeBoundType: int
@ivar trackAxis: Track axis. Return string 'X' | 'Y' | 'Z' | '-X' | '-Y' | '-Z' (readonly)
@type trackAxis: string
@ivar upAxis: Up axis. Return string 'Y' | 'Y' | 'Z' (readonly)
@type upAxis: string
"""
def buildParts():