net.jbeans.j3d.light
Class DirectionalLight

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.DirectionalLight
                      extended bynet.jbeans.j3d.light.DirectionalLight
All Implemented Interfaces:
java.io.Serializable

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

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

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

Field Summary
 
Fields inherited from class javax.media.j3d.DirectionalLight
ALLOW_DIRECTION_READ, ALLOW_DIRECTION_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
DirectionalLight()
           
DirectionalLight(boolean lightOn, javax.vecmath.Color3f color3f, javax.vecmath.Vector3f direction)
           
DirectionalLight(javax.vecmath.Color3f color3f, javax.vecmath.Vector3f direction)
           
 
Method Summary
 java.awt.Color getColor()
           
 javax.vecmath.Vector3f getDirection()
           
 javax.media.j3d.Light getDirectionalLight()
           
 void setColor(java.awt.Color color)
           
 void setDirection(float x, float y, float z)
           
 
Methods inherited from class javax.media.j3d.DirectionalLight
cloneNode, getDirection, setDirection
 
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

DirectionalLight

public DirectionalLight()

DirectionalLight

public DirectionalLight(javax.vecmath.Color3f color3f,
                        javax.vecmath.Vector3f direction)

DirectionalLight

public DirectionalLight(boolean lightOn,
                        javax.vecmath.Color3f color3f,
                        javax.vecmath.Vector3f direction)
Method Detail

setColor

public void setColor(java.awt.Color color)

getColor

public java.awt.Color getColor()

getDirection

public javax.vecmath.Vector3f getDirection()

setDirection

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

getDirectionalLight

public javax.media.j3d.Light getDirectionalLight()


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