Package | Description |
---|---|
com.sun.j3d.loaders | |
javax.media.j3d |
Modifier and Type | Method and Description |
---|---|
Light[] |
SceneBase.getLightNodes()
This method returns an array of all Lights defined in the file.
|
Light[] |
Scene.getLightNodes()
This method returns an array of all Lights defined in the file.
|
Modifier and Type | Method and Description |
---|---|
void |
SceneBase.addLightNode(Light light)
Adds the given Light node to the list of lights.
|
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)
Deprecated.
Retrieves the index selected light.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicsContext3D.addLight(Light light)
Deprecated.
Appends the specified light to this graphics context's list of lights.
|
void |
GraphicsContext3D.insertLight(Light light,
int index)
Deprecated.
Inserts the specified light at the specified index location.
|
void |
GraphicsContext3D.setLight(Light light,
int index)
Deprecated.
Replaces the specified light with the light provided.
|