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.
    • primitiveRenderScale

      public double primitiveRenderScale
  • Constructor Details

    • ParticleExtra

      public ParticleExtra()
  • Method Details

    • setTEff

      public void setTEff(Double tEff)
    • setteff

      public void setteff(Double tEff)
    • 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