Modifier and Type | Class and Description |
---|---|
class |
AmbientLight
An ambient light source object.
|
class |
DirectionalLight
A DirectionalLight node defines an oriented light with an origin at
infinity.
|
class |
PointLight
The PointLight object specifies an attenuated light source at a
fixed point in space that radiates light equally in all directions
away from the light source.
|
class |
SpotLight
The SpotLight object specifies an attenuated light source at a
fixed point in space that radiates light in a specified direction
from the light source.
|
Modifier and Type | Method and Description |
---|---|
Light |
GraphicsContext3D.getLight(int index)
Retrieves the index selected light.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Light> |
GraphicsContext3D.getAllLights()
Retrieves the iterator object of all the lights.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicsContext3D.addLight(Light light)
Appends the specified light to this graphics context's list of lights.
|
void |
GraphicsContext3D.insertLight(Light light,
int index)
Inserts the specified light at the specified index location.
|
void |
GraphicsContext3D.setLight(Light light,
int index)
Replaces the specified light with the light provided.
|