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
 
- 
Property Summary
Properties - 
Nested Class Summary
Nested 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. - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
color
The color of the light source.Min: n/a Max: n/a Default: Color.WHITE Identity: n/a- Default value:
 - WHITE
 - See Also:
 
 
 - 
 - 
Constructor Details
- 
Light
protected Light()Creates a new Light. 
 - 
 - 
Method Details
- 
setColor
Sets 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 thecolorproperty- See Also:
 
 - 
getColor
Gets 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:
 
 - 
colorProperty
The 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:
 
 
 -