Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.lighting
Interface PointLight

All Superinterfaces:
X3DChildNode, X3DLightNode, X3DNode

public interface PointLight
extends X3DLightNode

Defines the requirements of an X3D PointLight node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void getAttenuation(float[] val)
          Return the attenuation value in the argument float[]
 void getLocation(float[] val)
          Return the location value in the argument float[]
 float getRadius()
          Return the radius float value.
 void setAttenuation(float[] val)
          Set the attenuation field.
 void setLocation(float[] val)
          Set the location field.
 void setRadius(float val)
          Set the radius 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

getAttenuation

void getAttenuation(float[] val)
Return the attenuation value in the argument float[]

Parameters:
val - The float[] to initialize.

setAttenuation

void setAttenuation(float[] val)
Set the attenuation field.

Parameters:
val - The float[] to set.

getLocation

void getLocation(float[] val)
Return the location value in the argument float[]

Parameters:
val - The float[] to initialize.

setLocation

void setLocation(float[] val)
Set the location field.

Parameters:
val - The float[] to set.

getRadius

float getRadius()
Return the radius float value.

Returns:
The radius float value.

setRadius

void setRadius(float val)
Set the radius field.

Parameters:
val - The float to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium