Class enchant.gl.Skeleton
- Defined in: gl.enchant.js
Constructor Attributes | Constructor Name and Description |
---|---|
Class that becomes bone structure route.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
addChild(child)
Add child bone to skeleton.
|
|
addIKControl(effector, target, bones, maxangle, iteration)
Add IK control information.
|
|
removeChild(child)
Delete child bone from skeleton.
|
|
setPoses(poses)
Set pose.
|
|
solveFKs()
Perform pose settlement according to FK.
|
|
solveIKs()
Perform pose settlement via IK.
|
Class Detail
enchant.gl.Skeleton()
Class that becomes bone structure route.
Method Detail
-
addChild(child)Add child bone to skeleton.
- Parameters:
- {enchant.gl.Bone} child
-
addIKControl(effector, target, bones, maxangle, iteration)Add IK control information.
- Parameters:
- {enchant.gl.Bone} effector
- {enchant.gl.Bone} target
- {enchant.gl.Bone[]} bones
- {Number} maxangle
- {Number} iteration
-
removeChild(child)Delete child bone from skeleton.
- Parameters:
- {enchant.gl.Bone} child
-
setPoses(poses)Set pose.
- Parameters:
- {*} poses
-
solveFKs()Perform pose settlement according to FK. Make pose from set pose information.
-
solveIKs()Perform pose settlement via IK. Base on information added via enchant.gl.Skeleton#addIKControl