Interface PolygonModel

All Superinterfaces:
Updatable
All Known Implementing Classes:
GDXModel

public interface PolygonModel extends Updatable
An instance of a 3D polygon model that can added to the stage. Multiple instances of the model can be created, so that multiple instances can share the same geometry and textures. Models can be created programmatically, typically when using simple primitives, or loaded from external files.
  • Method Details

    • getTransform

      Transform3D getTransform()
    • getAnimation

      ModelAnimation getAnimation(String name)
    • playAnimation

      void playAnimation(ModelAnimation animation)
    • playAnimation

      default void playAnimation(String name)
    • copy

      PolygonModel copy()
      Creates a copy of this model. The copy will share the same geometry and textures, but will have its own transform. Note that creating the copy does *not* automatically add the copy to the stage.