Class ModelScene
This class stores all meshes in the AIScene, and converts them to the engine's mesh format;
Inheritance
java.lang.Object
ModelScene
Syntax
public class ModelScene implements Expendable
Constructors
ModelScene(AIScene scene, AssetManager man)
Declaration
public ModelScene(AIScene scene, AssetManager man)
Parameters
Methods
bindModels()
Declaration
public ModelScene bindModels()
Returns
bindModels(int draw_usage)
Declaration
public ModelScene bindModels(int draw_usage)
Parameters
Type |
Name |
Description |
int |
draw_usage |
|
Returns
Type |
Description |
ModelScene |
Returns the scene with bound models to VBO's in the current context.
|
dispose()
Declaration
Overrides
free()
Declaration
getMesh(String name)
Declaration
public Mesh getMesh(String name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
getMeshes()
Declaration
public Map<String, Mesh> getMeshes()
Returns
Type |
Description |
Map<String, Mesh> |
|
getTexturePaths()
Declaration
public String [] getTexturePaths()
Returns
Type |
Description |
String [] |
|
processScene(AssetManager man)
Declaration
public void processScene(AssetManager man)
Parameters
removeMesh(String meshName)
Declaration
public void removeMesh(String meshName)
Parameters
Type |
Name |
Description |
String |
meshName |
|