Class ModelInitializer

java.lang.Object
com.badlogic.ashley.core.EntitySystem
com.badlogic.ashley.systems.IteratingSystem
gaiasky.scene.system.initialize.AbstractInitSystem
gaiasky.scene.system.initialize.ModelInitializer
All Implemented Interfaces:
EntityInitializer

public class ModelInitializer extends AbstractInitSystem
  • Constructor Details

    • ModelInitializer

      public ModelInitializer(boolean setUp, com.badlogic.ashley.core.Family family, int priority)
  • Method Details

    • initializeModelSize

      public static void initializeModelSize(Model model)
    • initializeEntity

      public void initializeEntity(com.badlogic.ashley.core.Entity entity)
      Description copied from interface: EntityInitializer
      Contains the initialization of this entity before the scene graph structure has been constructed, or the entity is in the index.
      Parameters:
      entity - The entity.
    • setUpEntity

      public void setUpEntity(com.badlogic.ashley.core.Entity entity)
      Description copied from interface: EntityInitializer
      Contains the set up of this entity, after the entity has been added to the scene graph and it is in the index.
      Parameters:
      entity - The entity.
    • initializeSatellite

      public void initializeSatellite(Attitude attitude, ModelScaffolding scaffolding, SolidAngle sa, Label label)
    • isRandomizeModel

      public boolean isRandomizeModel(ModelScaffolding scaffolding)
    • isRandomizeAtmosphere

      protected boolean isRandomizeAtmosphere(ModelScaffolding scaffolding)
    • isRandomizeCloud

      protected boolean isRandomizeCloud(ModelScaffolding scaffolding)