API Reference > OdDb Classes > OdDbAbstractViewportData Class > OdDbAbstractViewportData Methods > OdDbAbstractViewportData::setSun Method
OdDbAbstractViewportData::setSun Method
Syntax
C++
virtual OdDbStub * setSun(OdRxObject* pViewport, OdRxObject* pSun) const = 0;
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.