net.jbeans.j3d.light
Class SpotLight
java.lang.Object
javax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Leaf
javax.media.j3d.Light
javax.media.j3d.PointLight
javax.media.j3d.SpotLight
net.jbeans.j3d.light.SpotLight
- All Implemented Interfaces:
- java.io.Serializable
- public final class SpotLight
- extends javax.media.j3d.SpotLight
- implements java.io.Serializable
generally describe SpotLight in here
- Version:
- $Revision: 1.3 $
- Author:
- Masahiro Takatsuka (masa@jbeans.net)
- See Also:
SpotLight
,
Serializable
,
Serialized Form
Fields inherited from class javax.media.j3d.SpotLight |
ALLOW_CONCENTRATION_READ, ALLOW_CONCENTRATION_WRITE, ALLOW_DIRECTION_READ, ALLOW_DIRECTION_WRITE, ALLOW_SPREAD_ANGLE_READ, ALLOW_SPREAD_ANGLE_WRITE |
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 |
SpotLight()
|
SpotLight(boolean lightOn,
javax.vecmath.Color3f color3f,
javax.vecmath.Point3f position,
javax.vecmath.Point3f attenuation,
javax.vecmath.Vector3f direction,
float spreadAngle,
float concentration)
|
SpotLight(javax.vecmath.Color3f color3f,
javax.vecmath.Point3f position,
javax.vecmath.Point3f attenuation,
javax.vecmath.Vector3f direction,
float spreadAngle,
float concentration)
|
Methods inherited from class javax.media.j3d.SpotLight |
cloneNode, getConcentration, getDirection, getSpreadAngle, setConcentration, setDirection, setSpreadAngle |
Methods inherited from class javax.media.j3d.PointLight |
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 |
SpotLight
public SpotLight()
SpotLight
public SpotLight(javax.vecmath.Color3f color3f,
javax.vecmath.Point3f position,
javax.vecmath.Point3f attenuation,
javax.vecmath.Vector3f direction,
float spreadAngle,
float concentration)
SpotLight
public SpotLight(boolean lightOn,
javax.vecmath.Color3f color3f,
javax.vecmath.Point3f position,
javax.vecmath.Point3f attenuation,
javax.vecmath.Vector3f direction,
float spreadAngle,
float concentration)
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()
getDirection
public javax.vecmath.Vector3f getDirection()
setPosition
public void setPosition(float x,
float y,
float z)
setAttenuation
public void setAttenuation(float x,
float y,
float z)
setDirection
public void setDirection(float x,
float y,
float z)
getSpotLight
public javax.media.j3d.Light getSpotLight()
Copyright © 1995-2004 net.jbeans. All Rights Reserved.