diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-03-16 09:28:40 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-03-16 09:28:40 +0300 |
commit | eab07f7322d8c16fed7dfed5cdf683e78ccd2b6d (patch) | |
tree | 5b6cd8bcaa9522eb452a96ca8f506916cbdbe86f /source/blender/python/api2_2x/doc | |
parent | e3d05088827ae08ca5749e95474a60d673199dcd (diff) |
Constraints Py-Api:
Fixed up Py-API access to PyConstraints. Also updated docs to reflect these changes.
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r-- | source/blender/python/api2_2x/doc/Constraint.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/python/api2_2x/doc/Constraint.py b/source/blender/python/api2_2x/doc/Constraint.py index 61ee3c36700..83c171a8939 100644 --- a/source/blender/python/api2_2x/doc/Constraint.py +++ b/source/blender/python/api2_2x/doc/Constraint.py @@ -36,12 +36,16 @@ Or to print all the constraints attached to each bone in a pose:: @type Settings: readonly dictionary @var Settings: Constant dict used for changing constraint settings. - - Used for all constraints - - TARGET (Object) (Note: not used by Limit Location (LIMITLOC), - Limit Rotation (LIMITROT), Limit Scale (LIMITSIZE)) - - BONE (string): name of Bone sub-target (for armature targets) (Note: not - used by Stretch To (STRETCHTO), Limit Location (LIMITLOC), Limit Rotation - (LIMITROT), Limit Scale (LIMITSIZE), Follow Path (FOLLOWPATH), Clamp To (CLAMPTO)) + - Used for all single-target constraints + (TRACKTO, FOLLOWPATH, COPYROT, COPYLOC, COPYSIZE, ACTION, LOCKTRACK, STRETCHTO, FLOOR, CLAMPTO, CHILDOF, TRANSFORM) + - 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) + - 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) - Used by some constraints: - OWNERSPACE (int): for TRACKTO, COPYLOC, COPYROT, COPYSIZE, LIMITLOC, LIMITROT, LIMITSIZE, PYTHON, TRANSFORM If the owner is an object, values are SPACE_WORLD, SPACE_LOCAL |