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
  • Field Details

    • clusterTex

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

      public double dist
    • radiusDeg

      public double radiusDeg
    • 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

    • setNumStars

      public void setNumStars(Integer numStars)
    • getCopy

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