![]() TGE Version 1.5.2 | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Camera functions
Function Documentation
Returns the pixel scale, namely:. viewPort.extent.x / 640.0
The scale factor of a world unit to a screen unit.
Returns the screen length of a line of distance "radius" that is "dist" units away from the camera that is perpendicular to the line of sight, namely:. (radius / dist) * worldToScreenScale
|