Home | Trees | Index | Help |
|
---|
Module Bone :: Class Bone |
|
Method Summary | |
---|---|
Attemps to remove all the children of this bone. | |
Attempts to clear the parenting of this bone. | |
Enumeration const (string) |
Get this Bone's boneclass. |
list of Blender Bones |
Get this Bone's children Bones, if available. |
list of three floats |
Get the "head" ending position. |
list of three floats |
Get the location of this Bone. |
string |
Get the name of this Bone. |
Blender Bone |
Get this Bone's parent Bone, if available. |
Quaternion object. |
Get this Bone's quaternion. |
4x4 PyMatrix |
Return a matrix that represents the rotation and position of this bone. |
float |
Get the roll value. |
list of three floats |
Get the size attribute. |
list of three floats |
Get the "tail" ending position. |
float |
Get the bone's weight. |
true (1) or false (0) |
Determines whether or not this bone as flaged as IK. |
true or false |
True if this Bone has a parent Bone. |
Hides this bone. | |
Set the bones's boneclass. | |
Set the "head" ending position. | |
Set the new location for this Bone. | |
Rename this Bone. | |
Set the bones's parent in the armature. | |
Set the pose for this bone. | |
Set the new quaternion for this Bone. | |
Set the roll value. | |
Set the new size for this Bone. | |
Set the "tail" ending position. | |
Set the bones's weight. | |
Unhide this bone. |
Class Variable Summary | |
---|---|
boneclass : The boneclass of this bone. | |
children : The children bones. | |
head : This Bone's "head" ending position when in rest state. | |
ik : Whether the bone is set to IK. | |
loc : This Bone's location. | |
name : The name of this Bone. | |
parent : The parent Bone. | |
quat : This Bone's quaternion. | |
roll : This Bone's roll value. | |
size : This Bone's size. | |
tail : This Bone's "tail" ending position when in rest state. | |
weight : The bone's weight. |
Method Details |
---|
clearChildren()Attemps to remove all the children of this bone. Because each of the children no longer are parented they will be set a root bones in the armature. |
clearParent()Attempts to clear the parenting of this bone. Because the bone is no longer parented it will be set in the armature as a root bone. |
getBoneclass()Get this Bone's boneclass.
|
getChildren()Get this Bone's children Bones, if available.
|
getHead()Get the "head" ending position.
|
getLoc()Get the location of this Bone.
|
getName()Get the name of this Bone.
|
getParent()Get this Bone's parent Bone, if available.
|
getQuat()Get this Bone's quaternion.
|
getRestMatrix(locale='worldspace')Return a matrix that represents the rotation and position of this bone. There are two types of matrices that can be returned:
|
getRoll()Get the roll value.
|
getSize()Get the size attribute.
|
getTail()Get the "tail" ending position.
|
getWeight()Get the bone's weight.
|
hasIK()Determines whether or not this bone as flaged as IK.
|
hasParent()True if this Bone has a parent Bone.
|
hide()Hides this bone. |
setBoneclass(boneclass)Set the bones's boneclass.
|
setHead(x, y, z)Set the "head" ending position.
|
setLoc(x, y, z)Set the new location for this Bone.
|
setName(name)Rename this Bone.
|
setParent(bone)Set the bones's parent in the armature.
|
setPose(flags, Action)Set the pose for this bone. The pose will be set at the Scene's current frame. If an action is passed as the optional second parameter the pose will be added as a keyframe to that action. Otherwise a default action will be created an the pose set to it.
|
setQuat(quat)Set the new quaternion for this Bone.
|
setRoll(roll)Set the roll value.
|
setSize(x, y, z)Set the new size for this Bone.
|
setTail(x, y, z)Set the "tail" ending position.
|
setWeight(weight)Set the bones's weight.
|
unhide()Unhide this bone. |
Class Variable Details |
---|
boneclassThe boneclass of this bone. |
childrenThe children bones. |
headThis Bone's "head" ending position when in rest state. |
ikWhether the bone is set to IK. |
locThis Bone's location. |
nameThe name of this Bone. |
parentThe parent Bone. |
quatThis Bone's quaternion. |
rollThis Bone's roll value. |
sizeThis Bone's size. |
tailThis Bone's "tail" ending position when in rest state. |
weightThe bone's weight. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Jan 4 13:43:05 2005 | http://epydoc.sf.net |