Overview
Represents a spot light source at a given position in 3D space, with configurable direction and focus.
Attribute Summary
| name | type | description |
|---|---|---|
| Public | ||
| pointsAtX | Number |
The x coordinate of the direction vector for this light. More: [+]The x coordinate of the direction vector for this light.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
|
| pointsAtY | Number |
The y coordinate of the direction vector for this light. More: [+]The y coordinate of the direction vector for this light.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
|
| pointsAtZ | Number |
The z coordinate of the direction vector for this light. More: [+]The z coordinate of the direction vector for this light.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
|
| specularExponent | Number |
The specular exponent, which controls the focus of this light source. More: [+]The specular exponent, which controls the focus of this light source.
Min: 0.0
Max: 4.0
Default: 1.0
Identity: 1.0
|
| Protected | ||
Inherited Attributes
javafx.scene.effect.light.PointLight
| name | type | description |
|---|---|---|
| x | Number |
The x coordinate of the light position. More: [+]The x coordinate of the light position.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
|
| y | Number |
The y coordinate of the light position. More: [+]The y coordinate of the light position.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
|
| z | Number |
The z coordinate of the light position. More: [+]The z coordinate of the light position.
Min: n/a
Max: n/a
Default: 0.0
Identity: n/a
|
javafx.scene.effect.light.Light
| name | type | description |
|---|---|---|
| color | Color |
The color of the light source. More: [+]The color of the light source.
Min: n/a
Max: n/a
Default: Color.WHITE
Identity: n/a
|