API Reference > OdDb Classes > OdDbAbstractViewportDataForAbstractViewTabRec Class > OdDbAbstractViewportDataForAbstractViewTabRec Methods > OdDbAbstractViewportDataForAbstractViewTabRec::setSun Method
OdDbAbstractViewportDataForAbstractViewTabRec::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.