Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
3c28f2f9
Commit
3c28f2f9
authored
21 years ago
by
Joseph Gilbert
Browse files
Options
Downloads
Patches
Plain Diff
- Armature documentation update
parent
2410de68
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/blender/python/api2_2x/doc/Armature.py
+19
-11
19 additions, 11 deletions
source/blender/python/api2_2x/doc/Armature.py
with
19 additions
and
11 deletions
source/blender/python/api2_2x/doc/Armature.py
+
19
−
11
View file @
3c28f2f9
...
...
@@ -93,6 +93,7 @@ class Bone:
@cvar quat: This Bone
'
s quaternion.
@cvar parent: The parent Bone.
@cvar children: The children bones.
@cvar weight: The bone
'
s weight.
"""
def
getName
():
...
...
@@ -136,7 +137,7 @@ class Bone:
def
getQuat
():
"""
Get this Bone
'
s quaternion.
@rtype:
list of four floats
.
@rtype:
Quaternion object
.
"""
def
hasParent
():
...
...
@@ -151,6 +152,12 @@ class Bone:
@rtype: Blender Bone
"""
def
getWeight
():
"""
Get the bone
'
s weight.
@rtype: float
"""
def
getChildren
():
"""
Get this Bone
'
s children Bones, if available.
...
...
@@ -217,17 +224,11 @@ class Bone:
@param z: The new z value.
"""
def
setQuat
(
real
,
imag_i
,
imag_j
,
imag_k
):
def
setQuat
(
quat
):
"""
Set the new quaternion orientation for this Bone.
@type real: float
@type imag_i: float
@type imag_j: float
@type imag_k: float
@param real: The new quat[0] value.
@param imag_i: The new quat[1] value.
@param imag_j: The new quat[2] value.
@param imag_k: The new quat[3] value.
Set the new quaternion for this Bone.
@type quat: Quaternion object or PyList of floats
@param quat: Can be a Quaternion or PyList of 4 floats.
"""
def
setParent
(
bone
):
...
...
@@ -236,3 +237,10 @@ class Bone:
@type bone: PyBone
@param bone: The Python bone that is the parent to this bone.
"""
def
setWeight
(
weight
):
"""
Set the bones
'
s weight.
@type weight: float
@param weight: set the the bone
'
s weight.
"""
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment