# IRnVertexMorphs Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | SetConBlockInvalidationStatus (RtBool bEnabled)
HRESULT | SetActiveMorph (RtUlong dwMorphId, IRcUndoRedoGroup *pUndoRedo)
HRESULT | CreateMorphsList (IRdStrEnum **ppStr)

## Detailed Description

Node that holds vertex morphs and perform refreshes when morph weights or other properties change.

## Member Function Documentation

HRESULT IRnVertexMorphs::SetConBlockInvalidationStatus | ( | RtBool | bEnabled | ) |

Enable or disable blocking of refresh events.

Parameters:

  | bEnable | [in] Set to true to enable events blocking to prevent infinite loops.

Returns:
  S_OK is returned if blocking was enabled, S_FALSE otherwise.

HRESULT IRnVertexMorphs::SetActiveMorph | ( | RtUlong | dwMorphId,
|  | IRcUndoRedoGroup * | pUndoRedo |
| ) |  |  |

Immediately switch to specified vertex morph, save undo/redo information to pUndoRedo.

- Note: changing morph changes morph input data object, so be sure to read it again if you want to use it.

Parameters:

  | dwMorphId | [in] Index of morph to set to.
  | pUndoRedo | [in] Undo/redo container for collecting undo/redo commands

Returns:
  S_OK if succeeded

HRESULT IRnVertexMorphs::CreateMorphsList | ( | IRdStrEnum ** | ppStr | ) |

Get list of morphs names (including default pose).

Returns:
  ppStr [out,retval] Filled with list of morphs.

  S_OK if succeeded.