Directional Lights

Method Default
void setDirection( Vector3f dir )
0.0, 0.0, -1.0 


TransformGroup group = new TransformGroup( );
. . .
DirectionalLight light = new DirectionalLight( );
light.setEnable( true );
light.setColor( new Color3f( 1.0f, 1.0f, 1.0f ) );
light.setDirection( new Vector3f( 1.0f, 0.0f, 0.0f ) );

. . .
light.setInfluencingBounds( bounds );
group.addChild( light );