Package heronarts.lx.model
Class LXModel.Mesh
java.lang.Object
heronarts.lx.model.LXModel.Mesh
- Enclosing class:
LXModel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal Filebooleanintfinal Filefinal LXModel.Mesh.Typefinal List<LXModel.Mesh.Vertex> -
Constructor Summary
ConstructorsConstructorDescriptionMesh(LXModel.Mesh.Type type, File meshFile, int color) Mesh(LXModel.Mesh.Type type, List<LXModel.Mesh.Vertex> vertices, int color) Mesh(LXModel.Mesh.Type type, List<LXModel.Mesh.Vertex> vertices, int color, File texture) -
Method Summary
Modifier and TypeMethodDescriptionsetLightColor(int lightColor) setLightDirection(LXModel.Mesh.Vertex lightDirection) setLighting(LXModel.Mesh.Lighting lighting)
-
Field Details
-
type
-
color
public final int color -
vertices
-
file
-
texture
-
lightColor
public int lightColor -
lighting
-
lightDirection
-
invertNormals
public boolean invertNormals
-
-
Constructor Details
-
Mesh
-
Mesh
-
Mesh
-
-
Method Details
-
setLightColor
-
setLighting
-
setLightDirection
-