JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Represents a spot light source at a given position in 3D space, with configurable direction and focus.

Attribute Summary

nametypedescription
Public
pointsAtXNumber

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
 

pointsAtYNumber

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
 

pointsAtZNumber

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
 

specularExponentNumber

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

nametypedescription
xNumber

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
 

yNumber

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
 

zNumber

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

nametypedescription
colorColor

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
 

Inherited Functions