Class ParticleExtra
java.lang.Object
gaiasky.scene.component.ParticleExtra
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptiondoubledoubledoubleRadius of the object.doubleEffective temperature of the star, in Kelvin. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
computedSize
public double computedSize -
radius
public double radiusRadius of the object. -
tEff
public double tEffEffective temperature of the star, in Kelvin. -
primitiveRenderScale
public double primitiveRenderScale
-
-
Constructor Details
-
ParticleExtra
public ParticleExtra()
-
-
Method Details
-
setTEff
-
setteff
-
setPrimitiveRenderScale
-
getCopy
-