public class TwoSidedMaterial extends X3DMaterialNode
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{}X3DMaterialNode">
<attribute name="ambientIntensity" default="0.2">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="backAmbientIntensity" default="0.2">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="diffuseColor" type="{}SFColor" default="0.8 0.8 0.8" />
<attribute name="backDiffuseColor" type="{}SFColor" default="0.8 0.8 0.8" />
<attribute name="emissiveColor" type="{}SFColor" default="0 0 0" />
<attribute name="backEmissiveColor" type="{}SFColor" default="0 0 0" />
<attribute name="shininess" default="0.2">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="backShininess" default="0.2">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="specularColor" type="{}SFColor" default="0 0 0" />
<attribute name="backSpecularColor" type="{}SFColor" default="0 0 0" />
<attribute name="transparency" default="0">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="backTransparency" default="0">
<simpleType>
<restriction base="{}SFFloat">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</attribute>
<attribute name="separateBackColor" type="{}SFBool" default="false" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected SFFloat |
ambientIntensity |
protected SFFloat |
backAmbientIntensity |
protected SFColor |
backDiffuseColor |
protected SFColor |
backEmissiveColor |
protected SFFloat |
backShininess |
protected SFColor |
backSpecularColor |
protected SFFloat |
backTransparency |
protected SFColor |
diffuseColor |
protected SFColor |
emissiveColor |
protected SFBool |
separateBackColor |
protected SFFloat |
shininess |
protected SFColor |
specularColor |
protected SFFloat |
transparency |
containerField| Constructor and Description |
|---|
TwoSidedMaterial() |
| Modifier and Type | Method and Description |
|---|---|
SFFloat |
getAmbientIntensity()
Gets the value of the ambientIntensity property.
|
SFFloat |
getBackAmbientIntensity()
Gets the value of the backAmbientIntensity property.
|
SFColor |
getBackDiffuseColor()
Gets the value of the backDiffuseColor property.
|
SFColor |
getBackEmissiveColor()
Gets the value of the backEmissiveColor property.
|
SFFloat |
getBackShininess()
Gets the value of the backShininess property.
|
SFColor |
getBackSpecularColor()
Gets the value of the backSpecularColor property.
|
SFFloat |
getBackTransparency()
Gets the value of the backTransparency property.
|
SFColor |
getDiffuseColor()
Gets the value of the diffuseColor property.
|
SFColor |
getEmissiveColor()
Gets the value of the emissiveColor property.
|
SFFloat |
getShininess()
Gets the value of the shininess property.
|
SFColor |
getSpecularColor()
Gets the value of the specularColor property.
|
SFFloat |
getTransparency()
Gets the value of the transparency property.
|
SFBool |
isSeparateBackColor()
Gets the value of the separateBackColor property.
|
void |
setAmbientIntensity(SFFloat value)
Sets the value of the ambientIntensity property.
|
void |
setBackAmbientIntensity(SFFloat value)
Sets the value of the backAmbientIntensity property.
|
void |
setBackDiffuseColor(SFColor value)
Sets the value of the backDiffuseColor property.
|
void |
setBackEmissiveColor(SFColor value)
Sets the value of the backEmissiveColor property.
|
void |
setBackShininess(SFFloat value)
Sets the value of the backShininess property.
|
void |
setBackSpecularColor(SFColor value)
Sets the value of the backSpecularColor property.
|
void |
setBackTransparency(SFFloat value)
Sets the value of the backTransparency property.
|
void |
setDiffuseColor(SFColor value)
Sets the value of the diffuseColor property.
|
void |
setEmissiveColor(SFColor value)
Sets the value of the emissiveColor property.
|
void |
setSeparateBackColor(SFBool value)
Sets the value of the separateBackColor property.
|
void |
setShininess(SFFloat value)
Sets the value of the shininess property.
|
void |
setSpecularColor(SFColor value)
Sets the value of the specularColor property.
|
void |
setTransparency(SFFloat value)
Sets the value of the transparency property.
|
getContainerField, setContainerFieldgetClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSEprotected SFFloat ambientIntensity
protected SFFloat backAmbientIntensity
protected SFColor diffuseColor
protected SFColor backDiffuseColor
protected SFColor emissiveColor
protected SFColor backEmissiveColor
protected SFFloat shininess
protected SFFloat backShininess
protected SFColor specularColor
protected SFColor backSpecularColor
protected SFFloat transparency
protected SFFloat backTransparency
protected SFBool separateBackColor
public SFFloat getAmbientIntensity()
SFFloatpublic void setAmbientIntensity(SFFloat value)
value - allowed object is
SFFloatpublic SFFloat getBackAmbientIntensity()
SFFloatpublic void setBackAmbientIntensity(SFFloat value)
value - allowed object is
SFFloatpublic SFColor getDiffuseColor()
SFColorpublic void setDiffuseColor(SFColor value)
value - allowed object is
SFColorpublic SFColor getBackDiffuseColor()
SFColorpublic void setBackDiffuseColor(SFColor value)
value - allowed object is
SFColorpublic SFColor getEmissiveColor()
SFColorpublic void setEmissiveColor(SFColor value)
value - allowed object is
SFColorpublic SFColor getBackEmissiveColor()
SFColorpublic void setBackEmissiveColor(SFColor value)
value - allowed object is
SFColorpublic SFFloat getShininess()
SFFloatpublic void setShininess(SFFloat value)
value - allowed object is
SFFloatpublic SFFloat getBackShininess()
SFFloatpublic void setBackShininess(SFFloat value)
value - allowed object is
SFFloatpublic SFColor getSpecularColor()
SFColorpublic void setSpecularColor(SFColor value)
value - allowed object is
SFColorpublic SFColor getBackSpecularColor()
SFColorpublic void setBackSpecularColor(SFColor value)
value - allowed object is
SFColorpublic SFFloat getTransparency()
SFFloatpublic void setTransparency(SFFloat value)
value - allowed object is
SFFloatpublic SFFloat getBackTransparency()
SFFloatpublic void setBackTransparency(SFFloat value)
value - allowed object is
SFFloatpublic SFBool isSeparateBackColor()
SFBool