# IRsSkeletonEventsListener Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | OnSkeletonRootChanged ()
HRESULT | OnSkeletonTransformChanged ()
HRESULT | OnSkeletonPoseCalculated ()
HRESULT | OnSkeletonPoseIkCalculated ()
HRESULT | OnSkeletonTopologyChanged ()
HRESULT | OnSkeletonSkinMatrixChanged (RtMatrixf *pfSkinDeltaMatrix)

## Detailed Description

Implement this interface to receive skeleton related events.

## Member Function Documentation

HRESULT IRsSkeletonEventsListener::OnSkeletonRootChanged | ( |  | ) |

Notify that skeleton root has been changed.
Listener should reset its skeleton dependent caches as a response.

HRESULT IRsSkeletonEventsListener::OnSkeletonTransformChanged | ( |  | ) |

Notify that skeleton transform has been changed.
As a response, listener should reset it's parent transform matrix if applicable.

HRESULT IRsSkeletonEventsListener::OnSkeletonPoseCalculated | ( |  | ) |

Notify that forward kinematics pose has been calculated.

HRESULT IRsSkeletonEventsListener::OnSkeletonPoseIkCalculated | ( |  | ) |

Notify that whole pose has been calculated; including FK and IK.

HRESULT IRsSkeletonEventsListener::OnSkeletonTopologyChanged | ( |  | ) |

Notify skeleton node that skeleton topology has changed.
Nodes that are dependent on topology should reset their matrices to allow recalculation.

HRESULT IRsSkeletonEventsListener::OnSkeletonSkinMatrixChanged | ( | RtMatrixf * | pfSkinDeltaMatrix | ) |

Notify skeleton node that skinning matrix of a bone to which node is attached has changed. Parameter is skeleton space delta matrix; new matrix is calculated using new = delta * old.