Example usage for Java javax.media.j3d DirectionalLight fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ALLOW_DIRECTION_READ Specifies that the Node allows access to its object's direction information. |
int | ALLOW_DIRECTION_WRITE Specifies that the Node allows writing to its object's direction information. |
DirectionalLight(Color3f color, Vector3f direction) Constructs and initializes a directional light. | |
DirectionalLight() Constructs a DirectionalLight node with default parameters. | |
DirectionalLight(boolean lightOn, Color3f color, Vector3f direction) Constructs and initializes a directional light. |
Bounds | getInfluencingBounds() Retrieves the Light node's influencing bounds. |
void | setBoundsAutoCompute(boolean autoCompute) Turns the automatic calcuation of geometric bounds of a node on/off. |
void | setCapability(int bit) Sets the specified capability bit. |
void | setColor(Color3f color) Sets the Light's current color. |
void | setDirection(Vector3f direction) Set light direction. |
void | setEnable(boolean state) Turns the light on or off. |
void | setInfluencingBounds(Bounds region) Sets the Light's influencing region to the specified bounds. |