JavaFX Light.Point Effect
In this lighting effect, the light source is given a certain position in the 3D space. As the name suggests, the light source is situated at a certain point and the nodes are seamed to be lightened from that particular source. The class javafx.scene.effect.Light.Point represents this light source. We need to instantiate this class in order to generate the appropriate lighting on the node.
The properties of the class along with their setter methods are described in the following table.
The class contains two constructors