API Reference > Classes > PRC Graphical Classes > OdPrcDirectionalLight Class > OdPrcDirectionalLight Methods > direction Method > OdPrcDirectionalLight::direction Method ()
OdPrcDirectionalLight::direction Method ()
Syntax
C++
OdGeVector3d & direction();

Returns the current direction of the light. The direction is returned as a reference to an OdGeVector3d object, therefore it can be used to set a new direction.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.