Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai
Interface X3DLightNode

All Superinterfaces:
X3DChildNode, X3DNode
All Known Subinterfaces:
DirectionalLight, PointLight, SpotLight

public interface X3DLightNode
extends X3DChildNode

Defines the requirements of an X3DLightNode abstract node type

Version:
$Revision: 1.5 $
Author:
Rex Melton

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

Method Detail

getAmbientIntensity

float getAmbientIntensity()
Return the ambientIntensity float value.

Returns:
The ambientIntensity float value.

setAmbientIntensity

void setAmbientIntensity(float val)
Set the ambientIntensity field.

Parameters:
val - The float to set.

getColor

void getColor(float[] val)
Return the color value in the argument float[]

Parameters:
val - The float[] to initialize.

setColor

void setColor(float[] val)
Set the color field.

Parameters:
val - The float[] to set.

getIntensity

float getIntensity()
Return the intensity float value.

Returns:
The intensity float value.

setIntensity

void setIntensity(float val)
Set the intensity field.

Parameters:
val - The float to set.

getOn

boolean getOn()
Return the on boolean value.

Returns:
The on boolean value.

setOn

void setOn(boolean val)
Set the on field.

Parameters:
val - The boolean to set.

getGlobal

boolean getGlobal()
Return the global boolean value.

Returns:
The global boolean value.

setGlobal

void setGlobal(boolean val)
Set the global field.

Parameters:
val - The boolean to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium