Celestia/Celx Scripting/CELX Lua Methods/CEL command setfaintestautomag45deg

setfaintestautomag45deg
setfaintestautomag45deg { magnitude  } 

Set the lowest Magnitude of stars to be displayed when Auto-Magnitude is on.

CELX equivalent:

Based on the celestia:setrenderflags and celestia:setfaintestvisible methods.


 * Enable "AutoMag" and set the faintest magnitude of stars at 45°.  is the new faintest magnitude of stars.

celestia:setrenderflags{automag = true} celestia:setfaintestvisible(  )

Example:

CEL:

setfaintestautomag45deg { magnitude 9.0 }

CELX:

celestia:setrenderflags{automag = true} celestia:setfaintestvisible(9.0)

Back to CEL command index