Interface X3DOneSidedMaterialNode
- All Superinterfaces:
X3DAppearanceChildNode
,X3DMaterialNode
,X3DNode
- All Known Subinterfaces:
Material
,PhysicalMaterial
,UnlitMaterial
- All Known Implementing Classes:
Material
,PhysicalMaterial
,UnlitMaterial
Base type for material nodes that describe how the shape looks like from one side. A different number of contanied texture nodes are allowed by each of the implementing nodes.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionProvide String value from inputOutput SFString field named emissiveTextureMapping.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named normalScale.Provide String value from inputOutput SFString field named normalTextureMapping.setEmissiveTextureMapping
(String newValue) Accessor method to assign String value to inputOutput SFString field named emissiveTextureMapping.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setNormalScale
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named normalScale.setNormalTextureMapping
(String newValue) Accessor method to assign String value to inputOutput SFString field named normalTextureMapping.
-
Method Details
-
getEmissiveTextureMapping
String getEmissiveTextureMapping()Provide String value from inputOutput SFString field named emissiveTextureMapping.- Returns:
- value of emissiveTextureMapping field
-
setEmissiveTextureMapping
Accessor method to assign String value to inputOutput SFString field named emissiveTextureMapping.- Parameters:
newValue
- is new value for the emissiveTextureMapping field.- Returns:
X3DOneSidedMaterialNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
getMetadata
in interfaceX3DMaterialNode
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
setMetadata
in interfaceX3DMaterialNode
- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DOneSidedMaterialNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getNormalScale
float getNormalScale()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named normalScale.- Returns:
- value of normalScale field
-
setNormalScale
Accessor method to assign float value to inputOutput SFFloat field named normalScale.- Parameters:
newValue
- is new value for the normalScale field.- Returns:
X3DOneSidedMaterialNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getNormalTextureMapping
String getNormalTextureMapping()Provide String value from inputOutput SFString field named normalTextureMapping.- Returns:
- value of normalTextureMapping field
-
setNormalTextureMapping
Accessor method to assign String value to inputOutput SFString field named normalTextureMapping.- Parameters:
newValue
- is new value for the normalTextureMapping field.- Returns:
X3DOneSidedMaterialNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-