public class PointLight extends X3DLightNode
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{}X3DLightNode"> <attribute name="attenuation" type="{}SFVec3f" default="1 0 0" /> <attribute name="location" type="{}SFVec3f" default="0 0 0" /> <attribute name="radius" default="100"> <simpleType> <restriction base="{}SFFloat"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="global" type="{}SFBool" default="true" /> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected SFVec3f |
attenuation |
protected SFBool |
global |
protected SFVec3f |
location |
protected SFFloat |
radius |
ambientIntensity, color, intensity, on
containerField
Constructor and Description |
---|
PointLight() |
Modifier and Type | Method and Description |
---|---|
SFVec3f |
getAttenuation()
Gets the value of the attenuation property.
|
SFVec3f |
getLocation()
Gets the value of the location property.
|
SFFloat |
getRadius()
Gets the value of the radius property.
|
SFBool |
isGlobal()
Gets the value of the global property.
|
void |
setAttenuation(SFVec3f value)
Sets the value of the attenuation property.
|
void |
setGlobal(SFBool value)
Sets the value of the global property.
|
void |
setLocation(SFVec3f value)
Sets the value of the location property.
|
void |
setRadius(SFFloat value)
Sets the value of the radius property.
|
getAmbientIntensity, getColor, getIntensity, isOn, setAmbientIntensity, setColor, setIntensity, setOn
getContainerField, setContainerField
getClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSE
protected SFVec3f attenuation
protected SFVec3f location
protected SFFloat radius
protected SFBool global
public SFVec3f getAttenuation()
SFVec3f
public void setAttenuation(SFVec3f value)
value
- allowed object is
SFVec3f
public SFVec3f getLocation()
SFVec3f
public void setLocation(SFVec3f value)
value
- allowed object is
SFVec3f
public SFFloat getRadius()
SFFloat
public void setRadius(SFFloat value)
value
- allowed object is
SFFloat
public SFBool isGlobal()
SFBool