Package org.web3d.x3d.sai.Shape
Interface PhysicalMaterial
- All Superinterfaces:
X3DAppearanceChildNode
,X3DMaterialNode
,X3DNode
,X3DOneSidedMaterialNode
- All Known Implementing Classes:
PhysicalMaterial
public interface PhysicalMaterial extends X3DOneSidedMaterialNode
PhysicalMaterial specifies surface rendering properties for associated geometry nodes.
X3D node tooltip: (X3D version 4.0 draft) [X3DOneSidedMaterialNode] PhysicalMaterial specifies surface rendering properties for associated geometry nodes. Material attributes are used by the X3D lighting equations during rendering.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
X3D node tooltip: (X3D version 4.0 draft) [X3DOneSidedMaterialNode] PhysicalMaterial specifies surface rendering properties for associated geometry nodes. Material attributes are used by the X3D lighting equations during rendering.
- Hint: insert Shape and Appearance nodes before adding material.
- Hint: DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
- Hint: X3D Scene Authoring Hints, Color https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color
- Hint: X3D Example Archives, Basic, Universal Media Materials https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials
- Hint: X3D Architecture 17.2.2 Lighting model https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/lighting.html#Lightingmodel
- Hint: Rendering https://en.wikipedia.org/wiki/Rendering_(computer_graphics)
- Hint: 3D rendering https://en.wikipedia.org/wiki/3D_rendering
- Hint: Physically based rendering (PBR) https://en.wikipedia.org/wiki/Physically_based_rendering
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description float[]
getBaseColor()
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named baseColor.X3DSingleTextureNode
getBaseTexture()
Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field baseTexture.java.lang.String
getBaseTextureMapping()
Provide String value from inputOutput SFString field named baseTextureMapping.float[]
getEmissiveColor()
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named emissiveColor.X3DSingleTextureNode
getEmissiveTexture()
Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field emissiveTexture.java.lang.String
getEmissiveTextureMapping()
Provide String value from inputOutput SFString field named emissiveTextureMapping.X3DMetadataObject
getMetadata()
Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float
getMetallic()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named metallic.X3DSingleTextureNode
getMetallicRoughnessTexture()
Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field metallicRoughnessTexture.java.lang.String
getMetallicRoughnessTextureMapping()
Provide String value from inputOutput SFString field named metallicRoughnessTextureMapping.float
getNormalScale()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named normalScale.X3DSingleTextureNode
getNormalTexture()
Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field normalTexture.java.lang.String
getNormalTextureMapping()
Provide String value from inputOutput SFString field named normalTextureMapping.float
getOcclusionStrength()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named occlusionStrength.X3DSingleTextureNode
getOcclusionTexture()
Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field occlusionTexture.java.lang.String
getOcclusionTextureMapping()
Provide String value from inputOutput SFString field named occlusionTextureMapping.float
getRoughness()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named roughness.float
getTransparency()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named transparency.PhysicalMaterial
setBaseColor(float[] newValue)
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named baseColor.PhysicalMaterial
setBaseTexture(X3DSingleTextureNode newValue)
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field baseTexture.PhysicalMaterial
setBaseTextureMapping(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named baseTextureMapping.PhysicalMaterial
setEmissiveColor(float[] newValue)
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named emissiveColor.PhysicalMaterial
setEmissiveTexture(X3DSingleTextureNode newValue)
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field emissiveTexture.PhysicalMaterial
setEmissiveTextureMapping(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named emissiveTextureMapping.PhysicalMaterial
setMetadata(X3DMetadataObject newValue)
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.PhysicalMaterial
setMetallic(float newValue)
Accessor method to assign float value to inputOutput SFFloat field named metallic.PhysicalMaterial
setMetallicRoughnessTexture(X3DSingleTextureNode newValue)
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field metallicRoughnessTexture.PhysicalMaterial
setMetallicRoughnessTextureMapping(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named metallicRoughnessTextureMapping.PhysicalMaterial
setNormalScale(float newValue)
Accessor method to assign float value to inputOutput SFFloat field named normalScale.PhysicalMaterial
setNormalTexture(X3DSingleTextureNode newValue)
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field normalTexture.PhysicalMaterial
setNormalTextureMapping(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named normalTextureMapping.PhysicalMaterial
setOcclusionStrength(float newValue)
Accessor method to assign float value to inputOutput SFFloat field named occlusionStrength.PhysicalMaterial
setOcclusionTexture(X3DSingleTextureNode newValue)
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field occlusionTexture.PhysicalMaterial
setOcclusionTextureMapping(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named occlusionTextureMapping.PhysicalMaterial
setRoughness(float newValue)
Accessor method to assign float value to inputOutput SFFloat field named roughness.PhysicalMaterial
setTransparency(float newValue)
Accessor method to assign float value to inputOutput SFFloat field named transparency.
-
Method Details
-
getBaseColor
float[] getBaseColor()Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named baseColor.
Tooltip: [0,1] similar to diffuseColor, TODO define more precisely. *- Returns:
- value of baseColor field
-
setBaseColor
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named baseColor.
Tooltip: [0,1] similar to diffuseColor, TODO define more precisely. *- Parameters:
newValue
- is new value for the baseColor field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getBaseTexture
X3DSingleTextureNode getBaseTexture()Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field baseTexture.
Tooltip: [X3DSingleTextureNode] When applying baseColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='baseTexture'.
- Returns:
- value of baseTexture field
-
setBaseTexture
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field baseTexture.
Tooltip: [X3DSingleTextureNode] When applying baseColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='baseTexture'.
- Parameters:
newValue
- is new value for the baseTexture field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getBaseTextureMapping
java.lang.String getBaseTextureMapping()Provide String value from inputOutput SFString field named baseTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Returns:
- value of baseTextureMapping field
-
setBaseTextureMapping
Accessor method to assign String value to inputOutput SFString field named baseTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Parameters:
newValue
- is new value for the baseTextureMapping field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getEmissiveColor
float[] getEmissiveColor()Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput SFColor field named emissiveColor.
Tooltip: [0,1] how much glowing light is emitted from this object.- Hint: emissiveColors glow even when all lights are off.
- Hint: reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
- Hint: only emissiveColor affects IndexedLineSet, LineSet and PointSet.
- Warning: bright emissiveColor values can wash out other colors and some textures.
- Specified by:
getEmissiveColor
in interfaceX3DOneSidedMaterialNode
- Returns:
- value of emissiveColor field
-
setEmissiveColor
Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named emissiveColor.
Tooltip: [0,1] how much glowing light is emitted from this object.- Hint: emissiveColors glow even when all lights are off.
- Hint: reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
- Hint: only emissiveColor affects IndexedLineSet, LineSet and PointSet.
- Warning: bright emissiveColor values can wash out other colors and some textures.
- Specified by:
setEmissiveColor
in interfaceX3DOneSidedMaterialNode
- Parameters:
newValue
- is new value for the emissiveColor field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getEmissiveTexture
X3DSingleTextureNode getEmissiveTexture()Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field emissiveTexture.
Tooltip: [X3DSingleTextureNode] When applying emissiveColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='emissiveTexture'.
- Returns:
- value of emissiveTexture field
-
setEmissiveTexture
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field emissiveTexture.
Tooltip: [X3DSingleTextureNode] When applying emissiveColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='emissiveTexture'.
- Parameters:
newValue
- is new value for the emissiveTexture field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getEmissiveTextureMapping
java.lang.String getEmissiveTextureMapping()Provide String value from inputOutput SFString field named emissiveTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Specified by:
getEmissiveTextureMapping
in interfaceX3DOneSidedMaterialNode
- Returns:
- value of emissiveTextureMapping field
-
setEmissiveTextureMapping
Accessor method to assign String value to inputOutput SFString field named emissiveTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Specified by:
setEmissiveTextureMapping
in interfaceX3DOneSidedMaterialNode
- Parameters:
newValue
- is new value for the emissiveTextureMapping field.- Returns:
PhysicalMaterial
- 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.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/core.html#Metadata
- Specified by:
getMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
getMetadata
in interfaceX3DMaterialNode
- Specified by:
getMetadata
in interfaceX3DNode
- Specified by:
getMetadata
in interfaceX3DOneSidedMaterialNode
- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-WD2/Part01/components/core.html#Metadata
- Specified by:
setMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
setMetadata
in interfaceX3DMaterialNode
- Specified by:
setMetadata
in interfaceX3DNode
- Specified by:
setMetadata
in interfaceX3DOneSidedMaterialNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
getMetallic
float getMetallic()Provide float value within allowed range of [0,1] from inputOutput SFFloat field named metallic.
Tooltip: [0,1] metallic is a PBR parameter (TODO elaborate). *- Returns:
- value of metallic field
-
setMetallic
Accessor method to assign float value to inputOutput SFFloat field named metallic.
Tooltip: [0,1] metallic is a PBR parameter (TODO elaborate). *- Parameters:
newValue
- is new value for the metallic field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetallicRoughnessTexture
X3DSingleTextureNode getMetallicRoughnessTexture()Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field metallicRoughnessTexture.- Returns:
- value of metallicRoughnessTexture field
-
setMetallicRoughnessTexture
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field metallicRoughnessTexture.- Parameters:
newValue
- is new value for the metallicRoughnessTexture field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetallicRoughnessTextureMapping
java.lang.String getMetallicRoughnessTextureMapping()Provide String value from inputOutput SFString field named metallicRoughnessTextureMapping.- Returns:
- value of metallicRoughnessTextureMapping field
-
setMetallicRoughnessTextureMapping
Accessor method to assign String value to inputOutput SFString field named metallicRoughnessTextureMapping.- Parameters:
newValue
- is new value for the metallicRoughnessTextureMapping field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getNormalScale
float getNormalScale()Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named normalScale.
Tooltip: [0,infinity] normalScale controls the degree to which normalTexture RGB values apply XYZ-normal bump mapping to pixels in the parent material.- Hint: normalScale only affects computation of normalTexture modulations that affect lighting of characteristics of the parent Material and has no relation to normal vectors defined by corresponding geometry.
- Hint: normalTexture techniques apply Bump mapping https://en.wikipedia.org/wiki/Bump_mapping
- Specified by:
getNormalScale
in interfaceX3DOneSidedMaterialNode
- Returns:
- value of normalScale field
-
setNormalScale
Accessor method to assign float value to inputOutput SFFloat field named normalScale.
Tooltip: [0,infinity] normalScale controls the degree to which normalTexture RGB values apply XYZ-normal bump mapping to pixels in the parent material.- Hint: normalScale only affects computation of normalTexture modulations that affect lighting of characteristics of the parent Material and has no relation to normal vectors defined by corresponding geometry.
- Hint: normalTexture techniques apply Bump mapping https://en.wikipedia.org/wiki/Bump_mapping
- Specified by:
setNormalScale
in interfaceX3DOneSidedMaterialNode
- Parameters:
newValue
- is new value for the normalScale field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getNormalTexture
X3DSingleTextureNode getNormalTexture()Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field normalTexture.
Tooltip: [X3DSingleTextureNode] When applying normalScale for this material node, the contained texture modulates the texture across the surface.- Hint: normalTexture techniques apply Bump mapping https://en.wikipedia.org/wiki/Bump_mapping
- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='normalTexture'
- Returns:
- value of normalTexture field
-
setNormalTexture
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field normalTexture.
Tooltip: [X3DSingleTextureNode] When applying normalScale for this material node, the contained texture modulates the texture across the surface.- Hint: normalTexture techniques apply Bump mapping https://en.wikipedia.org/wiki/Bump_mapping
- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='normalTexture'
- Parameters:
newValue
- is new value for the normalTexture field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getNormalTextureMapping
java.lang.String getNormalTextureMapping()Provide String value from inputOutput SFString field named normalTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Specified by:
getNormalTextureMapping
in interfaceX3DOneSidedMaterialNode
- Returns:
- value of normalTextureMapping field
-
setNormalTextureMapping
Accessor method to assign String value to inputOutput SFString field named normalTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Specified by:
setNormalTextureMapping
in interfaceX3DOneSidedMaterialNode
- Parameters:
newValue
- is new value for the normalTextureMapping field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getOcclusionStrength
float getOcclusionStrength()Provide float value within allowed range of [0,1] from inputOutput SFFloat field named occlusionStrength.
Tooltip: [0,1] occlusionStrength indicates areas of indirect lighting, typically called ambient occlusion. Higher values indicate areas that should receive full indirect lighting and lower values indicate no indirect lighting.- Hint: only the Red channel of the texture is used for occlusion computations, other channels are ignored.
- Hint: https://en.wikipedia.org/wiki/Ambient_occlusion
- Returns:
- value of occlusionStrength field
-
setOcclusionStrength
Accessor method to assign float value to inputOutput SFFloat field named occlusionStrength.
Tooltip: [0,1] occlusionStrength indicates areas of indirect lighting, typically called ambient occlusion. Higher values indicate areas that should receive full indirect lighting and lower values indicate no indirect lighting.- Hint: only the Red channel of the texture is used for occlusion computations, other channels are ignored.
- Hint: https://en.wikipedia.org/wiki/Ambient_occlusion
- Parameters:
newValue
- is new value for the occlusionStrength field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getOcclusionTexture
X3DSingleTextureNode getOcclusionTexture()Provide org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) from inputOutput SFNode field occlusionTexture.
Tooltip: [X3DSingleTextureNode] When applying occlusionStrength for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='occlusionTexture'.
- Returns:
- value of occlusionTexture field
-
setOcclusionTexture
Accessor method to assign org.web3d.x3d.sai.Texturing.X3DSingleTextureNode instance (using a properly typed node) to inputOutput SFNode field occlusionTexture.
Tooltip: [X3DSingleTextureNode] When applying occlusionStrength for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.- Hint: if texture node is NULL or unspecified, no effect is applied to material values.
- Hint: contained texture node must include containerField='occlusionTexture'.
- Parameters:
newValue
- is new value for the occlusionTexture field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getOcclusionTextureMapping
java.lang.String getOcclusionTextureMapping()Provide String value from inputOutput SFString field named occlusionTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Returns:
- value of occlusionTextureMapping field
-
setOcclusionTextureMapping
Accessor method to assign String value to inputOutput SFString field named occlusionTextureMapping.
Tooltip: The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.- Hint: TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator https://savage.nps.edu/X3dValidator
- Parameters:
newValue
- is new value for the occlusionTextureMapping field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getRoughness
float getRoughness()Provide float value within allowed range of [0,1] from inputOutput SFFloat field named roughness.
Tooltip: [0,1] roughness is a PBR parameter (TODO elaborate). *- Returns:
- value of roughness field
-
setRoughness
Accessor method to assign float value to inputOutput SFFloat field named roughness.
Tooltip: [0,1] roughness is a PBR parameter (TODO elaborate). *- Parameters:
newValue
- is new value for the roughness field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTransparency
float getTransparency()Provide float value within allowed range of [0,1] from inputOutput SFFloat field named transparency.
Tooltip: [0,1] how "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: transparency < .5 opaque, transparency > .5 transparent. *- Returns:
- value of transparency field
-
setTransparency
Accessor method to assign float value to inputOutput SFFloat field named transparency.
Tooltip: [0,1] how "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: transparency < .5 opaque, transparency > .5 transparent. *- Parameters:
newValue
- is new value for the transparency field.- Returns:
PhysicalMaterial
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-