|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.VcObject camera3d.VcLight camera3d.VcPointLight camera3d.VcSpotLight
Represents a spot light.
Field Summary |
Fields inherited from class camera3d.VcObject |
transformationMode |
Constructor Summary | |
VcSpotLight()
|
Method Summary | |
javax.vecmath.Point3f |
getAttenuation()
|
double |
getConcentration()
|
double |
getConstantAttenuation()
|
static int |
getInstanceCounter()
Returns the number of objects instatiated so far. |
javax.media.j3d.Light |
getJ3DLight()
Returns the Java 3D light encapsulated by this VcLight. |
double |
getLinearAttenuation()
|
double |
getQuadraticAttenuation()
|
double |
getSpreadAngle()
|
void |
setColor(float r,
float g,
float b)
Sets color of this light. |
void |
setConcentration(double concentration)
|
void |
setEnable(boolean b)
Sets state (on/off) of this light. |
void |
setJ3DLight(javax.media.j3d.Light light)
Sets the Java 3D light encapsulated by this VcLight. |
void |
setSpreadAngle(double angle)
|
Methods inherited from class camera3d.VcPointLight |
setAttenuation, setAttenuation |
Methods inherited from class camera3d.VcLight |
getBlue, getColor, getGreen, getIcon, getRed, isEnabled, setIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VcSpotLight()
Method Detail |
public static int getInstanceCounter()
public void setConcentration(double concentration)
public double getConcentration()
public void setSpreadAngle(double angle)
public double getSpreadAngle()
public javax.vecmath.Point3f getAttenuation()
getAttenuation
in class VcPointLight
public double getConstantAttenuation()
getConstantAttenuation
in class VcPointLight
public double getLinearAttenuation()
getLinearAttenuation
in class VcPointLight
public double getQuadraticAttenuation()
getQuadraticAttenuation
in class VcPointLight
public javax.media.j3d.Light getJ3DLight()
VcLight
getJ3DLight
in class VcPointLight
public void setEnable(boolean b)
VcLight
setEnable
in class VcPointLight
public void setColor(float r, float g, float b)
VcLight
setColor
in class VcPointLight
public void setJ3DLight(javax.media.j3d.Light light)
VcLight
setJ3DLight
in class VcPointLight
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |