API Reference > OdDb Classes > OdDbLight Class > OdDbLight Methods > OdDbLight::setLightDirection Method
OdDbLight::setLightDirection Method
Syntax
C++
void setLightDirection(const OdGeVector3d& lightvec);
Parameters 
Description 
vec 
[in] Light direction. 

Specifies the direction of a distant light. 

 

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