Share

AcGiViewport::viewDir

C++

virtual AcGeVector3d viewDir() const;

Description

This method returns the current view direction of the viewport. This value can be calculated from the target and camera points in WCS:

vViewDir = ptCamera - ptTarget

Links

AcGiViewport Class

Was this information helpful?