Click or drag to resize
SoCameraInteractorGetViewportCenter Method

Note: This API is now obsolete.

Returns the viewport center.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 9.5.0.0. Use getFocalPoint() instead.")]
public SbVec3f GetViewportCenter()

Return Value

Type: SbVec3f

center in world coordinates

Remarks

On other words, returns the camera's "focal point", located focalDistance units from the camera position along the view direction vector ( orientation).

Caution note Caution

Obsolete since Open Inventor 9500. Use OIV.Inventor.ViewerComponents.SoCameraInteractor.GetFocalPoint() instead.

See Also