| Enum Constant and Description |
|---|
Directional
A directional light
|
Positional
A positional (omnidirectional) light
|
Spot
A positional spot light
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDirectional() |
boolean |
isPositional() |
boolean |
isSpot() |
static LightType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightType Positional
public static final LightType Spot
public static final LightType Directional
public static LightType[] values()
for (LightType c : LightType.values()) System.out.println(c);
public static LightType 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 nullpublic boolean isDirectional()
public boolean isPositional()
public boolean isSpot()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com