Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.lighting
Interface DirectionalLight

All Superinterfaces:
X3DChildNode, X3DLightNode, X3DNode

public interface DirectionalLight
extends X3DLightNode

Defines the requirements of an X3D DirectionalLight node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void getDirection(float[] val)
          Return the direction value in the argument float[]
 void setDirection(float[] val)
          Set the direction field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DLightNode
getAmbientIntensity, getColor, getGlobal, getIntensity, getOn, setAmbientIntensity, setColor, setGlobal, setIntensity, setOn
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getDirection

void getDirection(float[] val)
Return the direction value in the argument float[]

Parameters:
val - The float[] to initialize.

setDirection

void setDirection(float[] val)
Set the direction field.

Parameters:
val - The float[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium