API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::setViewDirection Method
OdDbViewport::setViewDirection Method
Syntax
C++
void setViewDirection(const OdGeVector3d& viewDirection);
Parameters 
Description 
const OdGeVector3d& viewDirection 
[in] View direction. 

Sets the WCS view direction of this Viewport object (DXF 16).

Copyright © 2002–2021. Open Design Alliance. All rights reserved.