Class ComponentUtils

java.lang.Object
gaiasky.scene.record.ComponentUtils

public class ComponentUtils extends Object
  • Constructor Details

    • ComponentUtils

      public ComponentUtils()
  • Method Details

    • isLoaded

      public static boolean isLoaded(String tex, com.badlogic.gdx.assets.AssetManager manager)
      Checks whether the texture with the given name is loaded.
      Parameters:
      tex - The name of the texture.
      manager - The asset manager.
      Returns:
      Whether the texture is loaded.
    • isLoaded

      public static boolean isLoaded(CubemapComponent cubemap, com.badlogic.gdx.assets.AssetManager manager)
      Checks whether the given cubemap is loaded.
      Parameters:
      cubemap - The cubemap component.
      manager - The asset manager.
      Returns:
      Whether the cubemap component is loaded.