API Reference > OdDb Classes > OdDbAbstractViewportDataForDbViewport Class > OdDbAbstractViewportDataForDbViewport Methods > OdDbAbstractViewportDataForDbViewport::setSun Method
OdDbAbstractViewportDataForDbViewport::setSun Method
Syntax
C++
OdDbStub * setSun(OdRxObject* pViewport, OdRxObject* pSun) const;
Parameters 
Description 
OdRxObject* pViewport 
[in] Input pointer to the viewport object.  
OdRxObject* pSun 
[in] Input pointer to the sun object. 

Sets the sun object to the specified viewport object.

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