File : API\scene\IBoneNode.h Namespace : scene Derived from: scene::INode
Extendes scene::INode interface and represents a bone of skeleton model. Each bone has it's own unique ID inside skeleton and a pair of transformation: the initial transformation (skin-position) and current transformation (default).
Interface supports Inverse-Kinematics limits on rotation. By setting min=max to IK limiter, you disable transformation on certain axis; by supplying min > max you remvoe limitation on this axis (e.g supplying min=1, max=-1 to X-rotation limiter you remove X-axis rotation limits). All limits apply to relative transformation from initial position.
In current implementation IBoneNode does not support scene::IVisualizeable, since scene::ISkeletonNode draws all it's bones.
setPosMode | Sets bone's positioning mode. |
getPosMode | Provides bone's positioning mode. |
setDirectionalAxis | Sets bone's direction axis. |
getDirectionalAxis | Provides bone's direction axis. |
setIKTerminator | Enables or disables IK termination on bone. |
isIKTerminator | Determines whether bone is IK-terminator. |
setDefaultColor | Sets bone's default color. It can be used for simplier soft-skin mesh painting. |
getDefaultColor | Provides bone's default color. It can be used for simplier soft-skin mesh painting. |
setIKLimits | Sets or removes IK rotation limits on bone. |
getIKLimits | Provides IK rotation limits on bone. |
setBoneID | Sets bone ID. It should be unique within one skeleton. |
getBoneID | Provides bone ID. It should be unique within one skeleton. |