Class MeshRenderer
Inheritance
java.lang.Object
MeshRenderer
Syntax
public class MeshRenderer extends SceneComponent
Constructors
MeshRenderer(Mesh mesh, Material mat)
Declaration
public MeshRenderer(Mesh mesh, Material mat)
Parameters
Fields
drawNormals
Declaration
public static boolean drawNormals= false
Field Value
Methods
init()
Declaration
Declaration
public void input(float delta)
Parameters
Type |
Name |
Description |
float |
delta |
|
render(Shader shader, RenderingEngine engine)
Declaration
public void render(Shader shader, RenderingEngine engine)
Parameters
toggleWireFrames()
Declaration
public static void toggleWireFrames()
update(float delta)
Declaration
public void update(float delta)
Parameters
Type |
Name |
Description |
float |
delta |
|