Class SceneSkybox

java.lang.Object
gaiasky.util.gdx.model.gltf.scene3d.scene.SceneSkybox
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IntRenderableProvider, Updatable

public class SceneSkybox extends Object implements IntRenderableProvider, Updatable, com.badlogic.gdx.utils.Disposable
  • Constructor Details

  • Method Details

    • set

      public SceneSkybox set(OwnCubemap cubemap)
    • getColor

      public com.badlogic.gdx.graphics.Color getColor()
      Returns:
      skybox material color to be modified (default is white)
    • update

      public void update(com.badlogic.gdx.graphics.Camera camera, float delta)
      Specified by:
      update in interface Updatable
    • getRenderables

      public void getRenderables(com.badlogic.gdx.utils.Array<IntRenderable> renderables, com.badlogic.gdx.utils.Pool<IntRenderable> pool)
      Description copied from interface: IntRenderableProvider
      Returns IntRenderable instances. Renderables are obtained from the provided Pool and added to the provided array. The IntRenderables obtained using Pool.obtain() will later be put back into the pool, do not store them internally. The resulting array can be rendered via a IntModelBatch.
      Specified by:
      getRenderables in interface IntRenderableProvider
      Parameters:
      renderables - the output array
      pool - the pool to obtain IntRenderables from
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • setRotation

      public void setRotation(float azymuthAngleDegree)
    • setRotation

      public void setRotation(com.badlogic.gdx.math.Matrix4 envRotation)