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.1.0.0 (2024.1.0)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 9.5.0.0. Use getFocalPoint() instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
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