public abstract class Light
extends java.lang.Object
Type | Property and Description |
---|---|
<any> |
color
The color of the light source.
|
(package private) BooleanProperty |
effectDirty |
Modifier and Type | Class and Description |
---|---|
static class |
Light.Distant
Represents a distant light source.
|
static class |
Light.Point
Represents a light source at a given position in 3D space.
|
static class |
Light.Spot
Represents a spot light source at a given position in 3D space, with
configurable direction and focus.
|
Modifier and Type | Field and Description |
---|---|
private <any> |
color
The color of the light source.
|
private BooleanProperty |
effectDirty |
private com.sun.scenario.effect.light.Light |
peer |
Modifier | Constructor and Description |
---|---|
protected |
Light()
Creates a new Light.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
clearDirty() |
<any> |
colorProperty()
The color of the light source.
|
(package private) abstract com.sun.scenario.effect.light.Light |
createPeer() |
(package private) BooleanProperty |
effectDirtyProperty() |
Color |
getColor()
Gets the value of the property color.
|
private Color |
getColorInternal() |
(package private) com.sun.scenario.effect.light.Light |
getPeer() |
(package private) boolean |
isEffectDirty() |
(package private) void |
markDirty() |
void |
setColor(Color value)
Sets the value of the property color.
|
private void |
setEffectDirty(boolean value) |
(package private) void |
sync() |
(package private) void |
update() |
public final <any> colorProperty
Min: n/a Max: n/a Default: Color.WHITE Identity: n/a
getColor()
,
setColor(Color)
final BooleanProperty effectDirtyProperty
private com.sun.scenario.effect.light.Light peer
private <any> color
Min: n/a Max: n/a Default: Color.WHITE Identity: n/a
private BooleanProperty effectDirty
abstract com.sun.scenario.effect.light.Light createPeer()
com.sun.scenario.effect.light.Light getPeer()
public final void setColor(Color value)
public final Color getColor()
public final <any> colorProperty()
Min: n/a Max: n/a Default: Color.WHITE Identity: n/a
getColor()
,
setColor(Color)
void sync()
private Color getColorInternal()
void update()
private void setEffectDirty(boolean value)
final BooleanProperty effectDirtyProperty()
boolean isEffectDirty()
final void markDirty()
final void clearDirty()