public class DirectionalLight 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="direction" type="{}SFVec3f" default="0 0 -1" />
<attribute name="global" type="{}SFBool" default="false" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected SFVec3f |
direction |
protected SFBool |
global |
ambientIntensity, color, intensity, oncontainerField| Constructor and Description |
|---|
DirectionalLight() |
| Modifier and Type | Method and Description |
|---|---|
SFVec3f |
getDirection()
Gets the value of the direction property.
|
SFBool |
isGlobal()
Gets the value of the global property.
|
void |
setDirection(SFVec3f value)
Sets the value of the direction property.
|
void |
setGlobal(SFBool value)
Sets the value of the global property.
|
getAmbientIntensity, getColor, getIntensity, isOn, setAmbientIntensity, setColor, setIntensity, setOngetContainerField, setContainerFieldgetClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSEpublic SFVec3f getDirection()
SFVec3fpublic void setDirection(SFVec3f value)
value - allowed object is
SFVec3fpublic SFBool isGlobal()
SFBool