|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.threed.jpct.Lights
Manages the dynamic lights in a scene. This is done internally by jPCT and because lights are not treated as single Objects but as a whole for each world, not much is public within here. Everything that is possible with individual lights should be done via the corresponding World instance.
Field Summary | |
static boolean |
LIGHT_INVISIBLE
The light is not visible |
static boolean |
LIGHT_VISIBLE
The light is visible |
static int |
OVERBRIGHT_LIGHTING_DISABLED
Overbright lighting won't be used |
static int |
OVERBRIGHT_LIGHTING_ENABLED
Overbright lighting will be used (default) |
static int |
RGB_SCALE_2X
2X RGB scale value |
static int |
RGB_SCALE_4X
4X RGB scale value |
static int |
RGB_SCALE_DEFAULT
Default RGB scale value |
Method Summary | |
void |
setOverbrightLighting(int mode)
Disable/Enable (default) overbright lighting. |
void |
setRGBScale(int scale)
With this, it's possible to "simulate" overbright lighting to a degree. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean LIGHT_VISIBLE
public static final boolean LIGHT_INVISIBLE
public static final int OVERBRIGHT_LIGHTING_DISABLED
public static final int OVERBRIGHT_LIGHTING_ENABLED
public static final int RGB_SCALE_DEFAULT
public static final int RGB_SCALE_2X
public static final int RGB_SCALE_4X
Method Detail |
public void setOverbrightLighting(int mode)
mode
- the overbright-lighting-modeOVERBRIGHT_LIGHTING_ENABLED
,
OVERBRIGHT_LIGHTING_DISABLED
public void setRGBScale(int scale)
scale
- the scalingRGB_SCALE_DEFAULT
,
RGB_SCALE_2X
,
RGB_SCALE_4X
,
setOverbrightLighting(int)
,
FrameBuffer.supports(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |