Class GraphicMesh


  • public class GraphicMesh
    extends Object
    Contains the data for a graphic mesh file.
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • GraphicMesh

        protected GraphicMesh​(String path,
                              String extension,
                              Material material)
        Create a new instance.
        Parameters:
        path - Path and name of the mesh to use.
        extension - Extension to use.
        material - Material to use with the mesh.
    • Method Detail

      • mesh

        public static GraphicMesh mesh​(String path,
                                       Material material)
        Create a new instance.
        Parameters:
        path - Path and name of the mesh to use(without extension, msh is expected as extension).
        material - Material to use with the mesh.
        Returns:
        The created mesh object.
      • getFile

        public final String getFile()
      • getMaterial

        public final Material getMaterial()