SoCameraInteractorSetPosition Method (SbVec2f, Single, SbViewportRegion) |
Move camera to the specified position.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetPosition(
SbVec2f pos,
float distFromEye,
SbViewportRegion vpRegion
)
Public Sub SetPosition (
pos As SbVec2f,
distFromEye As Single,
vpRegion As SbViewportRegion
)
public:
void SetPosition(
SbVec2f pos,
float distFromEye,
SbViewportRegion vpRegion
)
member SetPosition :
pos : SbVec2f *
distFromEye : float32 *
vpRegion : SbViewportRegion -> unit
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