SoCameraInteractorActivatePanning Method |
Set the starting point for interactive panning.
Namespace: OIV.Inventor.ViewerComponents
initial position in normalized screen coordinates (0 <= x,y <= 1). Typically this value is obtained from the OIV.Inventor.Events.SoEvent method getNormalizedPosition().
the actual viewport region
This method should be called when starting an interaction. Typically this is triggered by a mouse button or touch event. On subsequent mouse move or touch events, call the OIV.Inventor.ViewerComponents.SoCameraInteractor.Pan(OIV.Inventor.SbVec2f, OIV.Inventor.SbViewportRegion) method with the new cursor or touch position.