Class Cluster

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

public class Cluster extends Object implements com.badlogic.ashley.core.Component, ICopy
Some properties for star cluster objects.
  • Field Details

    • clusterTex

      public com.badlogic.gdx.graphics.Texture clusterTex
    • dist

      public double dist
    • raddeg

      public double raddeg
    • numStars

      public int numStars
    • ySinceEpoch

      public double ySinceEpoch
    • fadeAlpha

      public float fadeAlpha
      Fade alpha between quad and model. Attribute contains model opacity. Quad opacity is 1-fadeAlpha
    • model

      public IntModel model
    • modelTransform

      public com.badlogic.gdx.math.Matrix4 modelTransform
  • Constructor Details

    • Cluster

      public Cluster()
  • Method Details

    • setNstars

      public void setNstars(Integer numStars)
    • getCopy

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