Class LightStateRecord
java.lang.Object
com.ardor3d.renderer.state.record.StateRecord
com.ardor3d.renderer.state.record.LightStateRecord
-
Field Summary
Fields inherited from class com.ardor3d.renderer.state.record.StateRecord
valid
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getLightRecord
(int index) void
Invalidate this record - iow, we don't trust this record's information about the opengl state machine.boolean
boolean
boolean
boolean
void
setBackLightMask
(int backLightMask) void
setEnabled
(boolean enabled) void
setLightMask
(int lightMask) void
setLightRecord
(LightRecord lr, int index) void
setLocalViewer
(boolean localViewer) void
setSeparateSpecular
(boolean seperateSpecular) void
setTwoSidedOn
(boolean twoSidedOn) void
validate()
Validate this record - iow, we trust this record's information about the opengl state machine.Methods inherited from class com.ardor3d.renderer.state.record.StateRecord
isValid
-
Field Details
-
globalAmbient
-
lightBuffer
-
-
Constructor Details
-
LightStateRecord
public LightStateRecord()
-
-
Method Details
-
getBackLightMask
public int getBackLightMask() -
setBackLightMask
public void setBackLightMask(int backLightMask) -
getLightRecord
-
setLightRecord
-
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 classStateRecord
-
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 classStateRecord
-