Package nl.colorize.multimedialib.stage
Interface PolygonModel
- All Superinterfaces:
Updatable
- All Known Implementing Classes:
GDXModel
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 Summary
Modifier and TypeMethodDescriptioncopy()
Creates a copy of this model.getAnimation
(String name) default void
playAnimation
(String name) void
playAnimation
(ModelAnimation animation)
-
Method Details
-
getTransform
Transform3D getTransform() -
getAnimation
-
playAnimation
-
playAnimation
-
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.
-