Class ParticleExtra

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

public class ParticleExtra extends Object implements com.badlogic.ashley.core.Component, ICopy
Component that holds extra information for particles, which are not present in the Particle record.

This component includes information such as the radius, effective temperature, and primitive render scale for the particle. This information is often used during rendering or for information display in the GUI.

  • Field Details

    • computedSize

      public double computedSize
    • radius

      public double radius
      Radius of the object.
    • tEff

      public double tEff
      Effective temperature of the star, in Kelvin.
    • logG

      public double logG
      The surface gravity in log(cm.s**-2).
    • mh

      public double mh
      The metallicity in dex.
    • primitiveRenderScale

      public double primitiveRenderScale
      Primitive render scale.
  • Constructor Details

    • ParticleExtra

      public ParticleExtra()
  • Method Details

    • setTEff

      public void setTEff(Double tEff)
    • setteff

      public void setteff(Double tEff)
    • setEffectiveTemperature

      public void setEffectiveTemperature(Double tEff)
    • setLogG

      public void setLogG(Double logG)
    • setLogg

      public void setLogg(Double logG)
    • setSurfaceGravity

      public void setSurfaceGravity(Double logG)
    • setMh

      public void setMh(Double mh)
    • setMetallicity

      public void setMetallicity(Double mh)
    • setPrimitiveRenderScale

      public void setPrimitiveRenderScale(Double primitiveRenderScale)
    • getCopy

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