Click or drag to resize
SoCameraInteractorSetPosition Method (SbVec2f, Single, SbViewportRegion)

Move camera to the specified position.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void SetPosition(
	SbVec2f pos,
	float distFromEye,
	SbViewportRegion vpRegion
)

Parameters

pos
Type: OIV.InventorSbVec2f

new position (2D point in normalized screen coordinates: 0 <= x,y <= 1)

distFromEye
Type: SystemSingle

the distance at which the point would be back projected.

vpRegion
Type: OIV.InventorSbViewportRegion

the actual viewport region

Remarks

See Also