|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Light | |
---|---|
com.sun.j3d.loaders | Provides interfaces and abstract classes for writing Java 3D loaders. |
javax.media.j3d | Provides the core set of classes for the 3D graphics API for the Java platform; click here for more information, including explanatory material that was formerly found in the guide. |
Uses of Light in com.sun.j3d.loaders |
---|
Methods in com.sun.j3d.loaders that return Light | |
---|---|
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. |
Methods in com.sun.j3d.loaders with parameters of type Light | |
---|---|
void |
SceneBase.addLightNode(Light light)
Adds the given Light node to the list of lights. |
Uses of Light in javax.media.j3d |
---|
Subclasses of Light in javax.media.j3d | |
---|---|
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. |
Methods in javax.media.j3d that return Light | |
---|---|
Light |
GraphicsContext3D.getLight(int index)
Retrieves the index selected light. |
Methods in javax.media.j3d that return types with arguments of type Light | |
---|---|
java.util.Enumeration<Light> |
GraphicsContext3D.getAllLights()
Retrieves the enumeration object of all the lights. |
Methods in javax.media.j3d with parameters of type Light | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |