Class enchant.gl.Bone
- Defined in: gl.enchant.js
- Extends enchant.gl.State
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.gl.Bone(name, head, position, rotation)
Class to display bone status.
|
Field Attributes | Field Name and Description |
---|---|
During each IK settlement, function for which change is applied to quaternion is set.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
addChild(child)
Add child bone to bone.
|
|
removeChild(child)
Delete child bone from bone.
|
|
setPoses(poses)
Set bone pose.
|
- Methods borrowed from class enchant.gl.State:
- set
Class Detail
enchant.gl.Bone(name, head, position, rotation)
Class to display bone status.
- Parameters:
- {String} name
- {Number} head
- {Number} position
- {Number} rotation
Field Detail
constraint
During each IK settlement, function for which change is applied to quaternion is set.
Method Detail
-
addChild(child)Add child bone to bone.
- Parameters:
- {enchant.gl.Bone} child
-
removeChild(child)Delete child bone from bone.
- Parameters:
- {enchant.gl.Bone} child
-
setPoses(poses)Set bone pose.
- Parameters:
- {*} poses