Class Light
java.lang.Object
javafx.scene.effect.Light
- Direct Known Subclasses:
- Light.Distant,- Light.Point
The abstract base class for all light implementations.
- Since:
- JavaFX 2.0
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classRepresents a distant light source.static classRepresents a light source at a given position in 3D space.static classRepresents a spot light source at a given position in 3D space, with configurable direction and focus.
- 
Property SummaryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal ObjectProperty<Color> The color of the light source.final ColorgetColor()Gets the value of thecolorproperty.final voidSets the value of thecolorproperty.
- 
Property Details- 
colorThe color of the light source.Min: n/a Max: n/a Default: Color.WHITE Identity: n/a- Default value:
- WHITE
- See Also:
 
 
- 
- 
Constructor Details- 
Lightprotected Light()Creates a new Light.
 
- 
- 
Method Details- 
setColorSets the value of thecolorproperty.- Property description:
- The color of the light source.
 Min: n/a Max: n/a Default: Color.WHITE Identity: n/a
- Default value:
- WHITE
- Parameters:
- value- the value for the- colorproperty
- See Also:
 
- 
getColorGets the value of thecolorproperty.- Property description:
- The color of the light source.
 Min: n/a Max: n/a Default: Color.WHITE Identity: n/a
- Default value:
- WHITE
- Returns:
- the value of the colorproperty
- See Also:
 
- 
colorPropertyThe color of the light source.Min: n/a Max: n/a Default: Color.WHITE Identity: n/a- Default value:
- WHITE
- Returns:
- the colorproperty
- See Also:
 
 
-