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, on
containerField
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, setOn
getContainerField, setContainerField
getClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSE
public SFVec3f getDirection()
SFVec3f
public void setDirection(SFVec3f value)
value
- allowed object is
SFVec3f
public SFBool isGlobal()
SFBool