public class LightComponent extends ModelComponentBase
ModelComponent.NavpanelVisibility
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
Constructor and Description |
---|
LightComponent(GLLight light) |
Modifier and Type | Method and Description |
---|---|
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
java.awt.Color |
getAmbient() |
java.awt.Color |
getDiffuse() |
int |
getId() |
GLLight |
getLight() |
GLLight.LightSpace |
getLightSpace() |
Vector4d |
getPosition() |
java.awt.Color |
getSpecular() |
boolean |
isEnabled() |
void |
setAmbient(java.awt.Color color) |
void |
setDiffuse(java.awt.Color color) |
void |
setEnabled(boolean set) |
void |
setLightSpace(GLLight.LightSpace space) |
void |
setPosition(Vector4d pos) |
void |
setSpecular(java.awt.Color color) |
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, write
public LightComponent(GLLight light)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class ModelComponentBase
public GLLight getLight()
public void setAmbient(java.awt.Color color)
public java.awt.Color getAmbient()
public void setDiffuse(java.awt.Color color)
public java.awt.Color getDiffuse()
public void setSpecular(java.awt.Color color)
public java.awt.Color getSpecular()
public GLLight.LightSpace getLightSpace()
public void setLightSpace(GLLight.LightSpace space)
public void setPosition(Vector4d pos)
public Vector4d getPosition()
public int getId()
public boolean isEnabled()
public void setEnabled(boolean set)