SoCameraInteractorGetViewportCenter Method |
Note: This API is now obsolete.
Returns the viewport center.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax[ObsoleteAttribute("Use OIV.Inventor.ViewerComponents.SoCameraInteractor.GetFocalPoint() instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SbVec3f GetViewportCenter()
<ObsoleteAttribute("Use OIV.Inventor.ViewerComponents.SoCameraInteractor.GetFocalPoint() instead.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Function GetViewportCenter As SbVec3f
public:
[ObsoleteAttribute(L"Use OIV.Inventor.ViewerComponents.SoCameraInteractor.GetFocalPoint() instead.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
SbVec3f GetViewportCenter()
[<ObsoleteAttribute("Use OIV.Inventor.ViewerComponents.SoCameraInteractor.GetFocalPoint() instead.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
member GetViewportCenter : unit -> SbVec3f
Return Value
Type:
SbVec3fcenter in world coordinatesObsoletesince Open Inventor 9500.
Use OIV.Inventor.ViewerComponents.SoCameraInteractor.GetFocalPoint() instead.
RemarksOn other words, returns the camera's "focal point", located focalDistance units from the camera position along the view direction vector ( orientation).
See Also