Java javax.media.j3d DirectionalLight fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d DirectionalLight fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d DirectionalLight.

The text is from its open source code.

Field

intALLOW_DIRECTION_READ
Specifies that the Node allows access to its object's direction information.
intALLOW_DIRECTION_WRITE
Specifies that the Node allows writing to its object's direction information.

Constructor

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.

Method

BoundsgetInfluencingBounds()
Retrieves the Light node's influencing bounds.
voidsetBoundsAutoCompute(boolean autoCompute)
Turns the automatic calcuation of geometric bounds of a node on/off.
voidsetCapability(int bit)
Sets the specified capability bit.
voidsetColor(Color3f color)
Sets the Light's current color.
voidsetDirection(Vector3f direction)
Set light direction.
voidsetEnable(boolean state)
Turns the light on or off.
voidsetInfluencingBounds(Bounds region)
Sets the Light's influencing region to the specified bounds.