Click or drag to resize
SoCameraInteractorPan Method

Pan the camera based on offset from starting point.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void Pan(
	SbVec2f newPos,
	SbViewportRegion vpRegion
)

Parameters

newPos
Type: OIV.InventorSbVec2f

new position in normalized screen coordinates (0 <= x,y <= 1). Typically this value is obtained from the SoEvent method getNormalizedPosition().

vpRegion
Type: OIV.InventorSbViewportRegion

the actual viewport region

Remarks

This method can be used to implement an interactive panning operation in response to move move or touch events. The activatePanning() method should be called at the start of the operation.

See Also