API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::sunId Method
OdDbViewport::sunId Method
Syntax
C++
OdDbObjectId sunId() const;

Retrieves the object identifier of the sun (distant light) associated with this viewport.

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