public abstract class X3DLightNode extends X3DChildNode
Java class for X3DLightNode complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="X3DLightNode">
<complexContent>
<extension base="{}X3DChildNode">
<attribute name="ambientIntensity" default="0">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="color" type="{}SFColor" default="1 1 1" />
<attribute name="intensity" default="1">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="on" type="{}SFBool" default="true" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected SFFloat |
ambientIntensity |
protected SFColor |
color |
protected SFFloat |
intensity |
protected SFBool |
on |
containerField| Constructor and Description |
|---|
X3DLightNode() |
| Modifier and Type | Method and Description |
|---|---|
SFFloat |
getAmbientIntensity()
Gets the value of the ambientIntensity property.
|
SFColor |
getColor()
Gets the value of the color property.
|
SFFloat |
getIntensity()
Gets the value of the intensity property.
|
SFBool |
isOn()
Gets the value of the on property.
|
void |
setAmbientIntensity(SFFloat value)
Sets the value of the ambientIntensity property.
|
void |
setColor(SFColor value)
Sets the value of the color property.
|
void |
setIntensity(SFFloat value)
Sets the value of the intensity property.
|
void |
setOn(SFBool value)
Sets the value of the on property.
|
getContainerField, setContainerFieldgetClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSEprotected SFFloat ambientIntensity
protected SFColor color
protected SFFloat intensity
protected SFBool on
public SFFloat getAmbientIntensity()
SFFloatpublic void setAmbientIntensity(SFFloat value)
value - allowed object is
SFFloatpublic SFColor getColor()
SFColorpublic void setColor(SFColor value)
value - allowed object is
SFColorpublic SFFloat getIntensity()
SFFloatpublic void setIntensity(SFFloat value)
value - allowed object is
SFFloat