- java.lang.Object
-
- be.yildizgames.module.graphic.GraphicMesh
-
public class GraphicMesh extends Object
Contains the data for a graphic mesh file.- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGraphicMesh(String path, String extension, Material material)Create a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFile()MaterialgetMaterial()static GraphicMeshmesh(String path, Material material)Create a new instance.
-
-
-
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()
-
-