# IRdPoseList Interface Reference

Inherits IRsObject.

List of all members.

## Public Member Functions
HRESULT | AddPose ([in] RtDWORD key,[in] BSTR bszNodeName)
HRESULT | RemovePose ([in] RtDWORD key)
HRESULT | GetPose ([in] RtDWORD key,[out, retval] BSTR *pbszNodeName)
HRESULT | GetPoseCount ([out, retval]RtDWORD *pCount)
HRESULT | GetPoseKey ([in] RtDWORD index,[out, retval] RtDWORD *pKey)

## Detailed Description

This interface holds list of combinations of numeric IDs
together with single strings which serve as node names, for animation clips holding avatar poses.

## Member Function Documentation

HRESULT IRdPoseList::AddPose | ( | [in] RtDWORD | key,
|  | [in] BSTR | bszNodeName |
| ) |  |  |

Adds new pose.

Parameters:

  `[in]` | key | Pose ID.
  `[in]` | bszNodeName | Pose name.

HRESULT IRdPoseList::RemovePose | ( | [in] RtDWORD | key | ) |

Removes pose with specified key.

Parameters:

  `[in]` | key | Pose to remove.

HRESULT IRdPoseList::GetPose | ( | [in] RtDWORD | key,
|  | [out, retval] BSTR * | pbszNodeName |
| ) |  |  |

Returns pose with specified key.

Parameters:

  `[in]` | key | Pose to return.

Returns:
  [out,retval] pbszNodeName Node name of pose.

HRESULT IRdPoseList::GetPoseCount | ( | [out, retval] RtDWORD * | pCount | ) |

Returns number of registered poses.

Returns:
  [out,retval] pCount Number of poses.

HRESULT IRdPoseList::GetPoseKey | ( | [in] RtDWORD | index,
|  | [out, retval] RtDWORD * | pKey |
| ) |  |  |

Returns the key of pose at specified index.

Parameters:

  `[in]` | index | Index of pose.

Returns:
  [out,retval] pKey of pose.