Click or drag to resize
SoCameraInteractorTranslate Method (SbVec2f, SbViewportRegion)

Move camera by the specified 2D displacement.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void Translate(
	SbVec2f displacement,
	SbViewportRegion vpRegion
)

Parameters

displacement
Type: OIV.InventorSbVec2f

2D displacement in normalized screen coordinates: 0 <= x,y <= 1

vpRegion
Type: OIV.InventorSbViewportRegion

the actual viewport region

Remarks

See Also