public enum LightingMode extends java.lang.Enum<LightingMode>
| Enum Constant and Description |
|---|
Default
Auto-detect the best suitable algorithm for normal computation.
|
None
No lighting
|
PerFace
Flat lighting
|
PerVertex
Smooth lighting
|
SmoothAngle
Smooth lighting with an angle threshold.
|
SmoothGroup
Smooth lighting with sharp edges as defined by the smooth group (must be supported by the model format).
|
SmoothGroupAndAngle
Both smooth group and smooth angle
|
| Modifier and Type | Method and Description |
|---|---|
static LightingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightingMode None
public static final LightingMode PerFace
public static final LightingMode PerVertex
public static final LightingMode SmoothGroup
public static final LightingMode SmoothAngle
ModelReaderSettings.lightingSmoothAngleModelReaderSettings.lightingSmoothAnglepublic static final LightingMode SmoothGroupAndAngle
public static final LightingMode Default
ModelReaderSettings.lightingSmoothAngle is set, it will additionally use this smooth angle.public static LightingMode[] values()
for (LightingMode c : LightingMode.values()) System.out.println(c);
public static LightingMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com