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

Returns true if default lighting is turned on, false otherwise.

Checks whether default lighting is enabled for this viewport.

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