aiaf Posted January 10, 2017 Share Posted January 10, 2017 Need to get the range of a point light as a float. float GetRange() missing for PointLight class. Documentation for Light, float GetRange() method: http://www.leadwerks.com/werkspace/page/api-reference/_/light/lightgetrange-r474 I can see this method from camera class: virtual Vec2 GetRange(); I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station Link to comment Share on other sites More sharing options...
Admin Posted January 12, 2017 Share Posted January 12, 2017 Thanks for pointing that out. The correct function to use is Camera::GetRange(). That page was written before the deferred renderer made lights an extension of the Camera class. http://www.leadwerks.com/werkspace/page/api-reference/_/camera/cameragetrange-r202 Link to comment Share on other sites More sharing options...
Recommended Posts