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

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

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