|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Group
javax.media.j3d.TransformGroup
org.wilmascope.light.SpotLightCone
public class SpotLightCone
This class creates a cone to represent a spot light's colour, position, direction and spreadangle
| Field Summary |
|---|
| Fields inherited from class javax.media.j3d.TransformGroup |
|---|
ALLOW_TRANSFORM_READ, ALLOW_TRANSFORM_WRITE |
| Fields inherited from class javax.media.j3d.Group |
|---|
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_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 |
| Constructor Summary | |
|---|---|
SpotLightCone()
|
|
| Method Summary | |
|---|---|
void |
setColor(javax.vecmath.Color3f color)
Sets the colour of the cone |
void |
setDirection(javax.vecmath.Vector3f direction)
Sets the direction of the cone |
void |
setPosition(javax.vecmath.Point3f position)
sets the position of the cone |
void |
setSpreadAngle(float spreadAngle)
Sets the spreadAngle of the cone |
void |
setTransparency(float tranparency)
|
| Methods inherited from class javax.media.j3d.TransformGroup |
|---|
cloneNode, getTransform, setTransform |
| Methods inherited from class javax.media.j3d.Group |
|---|
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
| 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, updateNodeReferences |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpotLightCone()
| Method Detail |
|---|
public void setColor(javax.vecmath.Color3f color)
color - colour of the spot lightpublic void setSpreadAngle(float spreadAngle)
spreadAngle - spreadangle of the spot lightpublic void setPosition(javax.vecmath.Point3f position)
position - the position of the spotlightpublic void setDirection(javax.vecmath.Vector3f direction)
direction - the direction or the spot lightpublic void setTransparency(float tranparency)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||