com.jme.scene.state.jogl.records
Class LightStateRecord
java.lang.Object
com.jme.scene.state.StateRecord
com.jme.scene.state.jogl.records.LightStateRecord
public class LightStateRecord
- extends StateRecord
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
globalAmbient
public ColorRGBA globalAmbient
lightBuffer
public java.nio.FloatBuffer lightBuffer
LightStateRecord
public LightStateRecord()
getBackLightMask
public int getBackLightMask()
setBackLightMask
public void setBackLightMask(int backLightMask)
getLightRecord
public LightRecord getLightRecord(int index)
setLightRecord
public void setLightRecord(LightRecord lr,
int index)
getLightMask
public int getLightMask()
setLightMask
public void setLightMask(int lightMask)
isTwoSidedOn
public boolean isTwoSidedOn()
setTwoSidedOn
public void setTwoSidedOn(boolean twoSidedOn)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
isLocalViewer
public boolean isLocalViewer()
setLocalViewer
public void setLocalViewer(boolean localViewer)
isSeparateSpecular
public boolean isSeparateSpecular()
setSeparateSpecular
public void setSeparateSpecular(boolean seperateSpecular)
invalidate
public void invalidate()
- Description copied from class:
StateRecord
- Invalidate this record - iow, we don't trust this record's information
about the opengl state machine.
- Overrides:
invalidate
in class StateRecord
validate
public void validate()
- Description copied from class:
StateRecord
- Validate this record - iow, we trust this record's information
about the opengl state machine.
- Overrides:
validate
in class StateRecord