SoCameraInteractorTranslate Method (SbVec2f, SbViewportRegion) |
Move camera by the specified 2D displacement.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public void Translate(
SbVec2f displacement,
SbViewportRegion vpRegion
)
Public Sub Translate (
displacement As SbVec2f,
vpRegion As SbViewportRegion
)
public:
void Translate(
SbVec2f displacement,
SbViewportRegion vpRegion
)
member Translate :
displacement : SbVec2f *
vpRegion : SbViewportRegion -> unit
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