# IRsWeightBlendCtrl Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | SetInteractivityMode ([in] RtPPInteractivityMode mode)
HRESULT | GetInteractivityMode ([out, retval] RtPPInteractivityMode *pMode)
HRESULT | SetAllowContextMenu ([in] RtBool bAllow)
HRESULT | RemoveCurrentPose (void)
HRESULT | AddNewPose ([in] int xpos,[in] int ypos)
HRESULT | NotifyDataChange ([in] RtBool bRedraw)

## Detailed Description

Weight blend panel used for adding and configuring body poses of avatar facial mimics

## Member Function Documentation

HRESULT IRsWeightBlendCtrl::SetInteractivityMode | ( | [in] RtPPInteractivityMode | mode | ) |

Set either editing, adding, removing or blending mode

HRESULT IRsWeightBlendCtrl::GetInteractivityMode | ( | [out, retval] RtPPInteractivityMode * | pMode | ) |

Get current mode

HRESULT IRsWeightBlendCtrl::SetAllowContextMenu | ( | [in] RtBool | bAllow | ) |

Enable or disable context menu for panel instance

HRESULT IRsWeightBlendCtrl::RemoveCurrentPose | ( | void |  | ) |

Deletes currently selected dot

HRESULT IRsWeightBlendCtrl::AddNewPose | ( | [in] int | xpos,
|  | [in] int | ypos |
| ) |  |  |

Adds new dot at specified location (relative mouse coordinates)

HRESULT IRsWeightBlendCtrl::NotifyDataChange | ( | [in] RtBool | bRedraw | ) |

Notification about changes in controlled data type