Class NamedComponent

java.lang.Object
gaiasky.scene.record.NamedComponent
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IComponent
Direct Known Subclasses:
AtmosphereComponent, CloudComponent, MaterialComponent, ModelComponent, NoiseComponent, VirtualTextureComponent

public abstract class NamedComponent extends Object implements IComponent, com.badlogic.gdx.utils.Disposable
  • Field Details

    • name

      protected String name
  • Constructor Details

    • NamedComponent

      public NamedComponent()
  • Method Details

    • initialize

      public void initialize(String name)
      Specified by:
      initialize in interface IComponent
    • createModelParameters

      protected Map<String,Object> createModelParameters(long quality, double diameter, boolean flip)
    • gaussian

      protected double gaussian(Random rand, double mean, double sigma)
    • gaussian

      protected double gaussian(Random rand, double mean, double sigma, double min)
    • gaussian

      protected double gaussian(Random rand, double mean, double sigma, double min, double max)