# IRsNavigationTool Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | SetUVEditorNode ([in] IRsNode *pUVEditorNode)
HRESULT | Destroy ()
HRESULT | SetViewport ([in] RtUVcoord center,[in] RtFloat zoom)

## Detailed Description

Handles navigation in UV editor (middle and right mouse button, panning, zooming, clicking) Tool is used for zooming and panning around in UVE.

- Reacts on middle mouse button, mouse wheel and ALT+LDrag / ALT+RDrag for machines where no wheel and middle mouse button present.

## Member Function Documentation

HRESULT IRsNavigationTool::SetUVEditorNode | ( | [in] IRsNode * | pUVEditorNode | ) |

UVE node for which the navigation tool updates viewport.

Parameters:

  | pUVEditorNode | [in] Name of UVE node.

HRESULT IRsNavigationTool::Destroy | ( |  | ) |

Cleanup of internal data.

HRESULT IRsNavigationTool::SetViewport | ( | [in] RtUVcoord | center,
|  | [in] RtFloat | zoom |
| ) |  |  |

External override of current viewport.

Parameters:

  | center | [in] .
  | zoom | [in] .