Class Magnitude

java.lang.Object
gaiasky.scene.component.Magnitude
All Implemented Interfaces:
com.badlogic.ashley.core.Component, ICopy

public class Magnitude extends Object implements com.badlogic.ashley.core.Component, ICopy
  • Field Details

    • absMag

      public float absMag
      Absolute magnitude, m = -2.5 log10(flux), with the flux at 10 pc
    • appMag

      public float appMag
      Apparent magnitude, m = -2.5 log10(flux)
  • Constructor Details

    • Magnitude

      public Magnitude()
  • Method Details

    • setAbsMag

      public void setAbsMag(Double absMag)
    • setAbsmag

      public void setAbsmag(Double absMag)
    • setAppMag

      public void setAppMag(Double appMag)
    • setAppmag

      public void setAppmag(Double appMag)
    • getCopy

      public com.badlogic.ashley.core.Component getCopy(com.badlogic.ashley.core.Engine engine)
      Specified by:
      getCopy in interface ICopy