net.jbeans.j3d.light
Class PointLight

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Leaf
              extended byjavax.media.j3d.Light
                  extended byjavax.media.j3d.PointLight
                      extended bynet.jbeans.j3d.light.PointLight
All Implemented Interfaces:
java.io.Serializable

public final class PointLight
extends javax.media.j3d.PointLight
implements java.io.Serializable

net.jbeans.j3d.light.PointLight is a JavaBeanized javax.media.j3d.PointLight

Version:
$Revision: 1.3 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
PointLight, Serializable, Serialized Form

Field Summary
 
Fields inherited from class javax.media.j3d.PointLight
ALLOW_ATTENUATION_READ, ALLOW_ATTENUATION_WRITE, ALLOW_POSITION_READ, ALLOW_POSITION_WRITE
 
Fields inherited from class javax.media.j3d.Light
ALLOW_COLOR_READ, ALLOW_COLOR_WRITE, ALLOW_INFLUENCING_BOUNDS_READ, ALLOW_INFLUENCING_BOUNDS_WRITE, ALLOW_SCOPE_READ, ALLOW_SCOPE_WRITE, ALLOW_STATE_READ, ALLOW_STATE_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Fields inherited from class javax.media.j3d.SceneGraphObject
 
Constructor Summary
PointLight()
           
PointLight(boolean lightOn, javax.vecmath.Color3f color3f, javax.vecmath.Point3f position, javax.vecmath.Point3f attenuation)
           
PointLight(javax.vecmath.Color3f color3f, javax.vecmath.Point3f position, javax.vecmath.Point3f attenuation)
           
 
Method Summary
 javax.vecmath.Point3f getAttenuation()
           
 java.awt.Color getColor()
           
 javax.media.j3d.Light getPointLight()
           
 javax.vecmath.Point3f getPosition()
           
 void setAttenuation(float x, float y, float z)
           
 void setColor(java.awt.Color color)
           
 void setPosition(float x, float y, float z)
           
 
Methods inherited from class javax.media.j3d.PointLight
cloneNode, getAttenuation, getPosition, setAttenuation, setPosition
 
Methods inherited from class javax.media.j3d.Light
addScope, getAllScopes, getColor, getEnable, getInfluencingBoundingLeaf, getInfluencingBounds, getScope, indexOfScope, insertScope, numScopes, removeAllScopes, removeScope, removeScope, setColor, setEnable, setInfluencingBoundingLeaf, setInfluencingBounds, setScope, updateNodeReferences
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointLight

public PointLight()

PointLight

public PointLight(javax.vecmath.Color3f color3f,
                  javax.vecmath.Point3f position,
                  javax.vecmath.Point3f attenuation)

PointLight

public PointLight(boolean lightOn,
                  javax.vecmath.Color3f color3f,
                  javax.vecmath.Point3f position,
                  javax.vecmath.Point3f attenuation)
Method Detail

setColor

public void setColor(java.awt.Color color)

getColor

public java.awt.Color getColor()

getPosition

public javax.vecmath.Point3f getPosition()

getAttenuation

public javax.vecmath.Point3f getAttenuation()

setPosition

public void setPosition(float x,
                        float y,
                        float z)

setAttenuation

public void setAttenuation(float x,
                           float y,
                           float z)

getPointLight

public javax.media.j3d.Light getPointLight()


Copyright © 1995-2004 net.jbeans. All Rights Reserved.