Class NRMaterial
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.shape.BaseMaterial
org.web3d.vrml.renderer.norender.nodes.shape.NRMaterial
- All Implemented Interfaces:
VRMLNode,FrameStateListener,VRMLAppearanceChildNodeType,VRMLMaterialNodeType,VRMLNodeType,VRMLSurfaceMaterialNodeType,VRMLVisualMaterialNodeType,NRVRMLNode
Null renderer implementation of a material node.
- Version:
- $Revision: 1.1 $
- Author:
- Russell Dodds
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.shape.BaseMaterial
FIELD_AMBIENT_INTENSITY, FIELD_AMBIENTTEXTURE, FIELD_AMBIENTTEXTUREMAPPING, FIELD_DIFFUSE_COLOR, FIELD_DIFFUSETEXTURE, FIELD_DIFFUSETEXTUREMAPPING, FIELD_EMISSIVE_COLOR, FIELD_EMISSIVETEXTURE, FIELD_EMISSIVETEXTUREMAPPING, FIELD_NORMALSCALE, FIELD_NORMALTEXTURE, FIELD_NORMALTEXTUREMAPPING, FIELD_OCCLUSIONSTRENGTH, FIELD_OCCLUSIONTEXTURE, FIELD_OCCLUSIONTEXTUREMAPPING, FIELD_SHININESS, FIELD_SHININESSTEXTURE, FIELD_SHININESSTEXTUREMAPPING, FIELD_SPECULAR_COLOR, FIELD_SPECULARTEXTURE, FIELD_SPECULARTEXTUREMAPPING, FIELD_TRANSPARENCY, ignoreDiffuse, NUM_FIELDS, vfAmbientIntensity, vfAmbientTexture, vfDiffuseColor, vfDiffuseTexture, vfEmissiveColor, vfEmissiveTexture, vfNormalScale, vfNormalTexture, vfOcclusionStrength, vfOcclusionTexture, vfShininess, vfShininessTexture, vfSpecularColor, vfSpecularTexture, vfTransparencyFields inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
errorReporter, FIELD_METADATA, fieldLocalData, hasChanged, inSetup, isDEF, isStatic, LAST_NODE_INDEX, layerIds, nodeName, pMetadata, refCounts, removedLayerIds, stateManager, STATIC_SCENE_GRAPH, vfMetadata, vrmlMajorVersion, vrmlMinorVersion -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a default instance of the materialNRMaterial(VRMLNodeType node) Construct a new instance of this node based on the details from the given node. -
Method Summary
Methods inherited from class org.web3d.vrml.renderer.common.nodes.shape.BaseMaterial
addMaterialColorListener, getAmbientIntensity, getAmbientTexture, getDiffuseColor, getDiffuseTexture, getEmissiveColor, getEmissiveTexture, getFieldDeclaration, getFieldIndex, getFieldValue, getNodeFieldIndices, getNormalScale, getNormalTexture, getNumFields, getOcclusionStrength, getOcclusionTexture, getPrimaryType, getShininess, getShininessTexture, getSpecularColor, getSpecularTexture, getTransparency, removeMaterialColorListener, sendRoute, setAmbientIntensity, setDiffuseColor, setEmissiveColor, setIgnoreDiffuse, setNormalScale, setOcclusionStrength, setShininess, setSpecularColor, setTransparency, setValue, setValueMethods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, allEventsComplete, checkNodeType, checkSecondaryType, checkSecondaryType, clearRemovedLayerIds, fireFieldChanged, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, getSecondaryType, getUserData, getVRMLNodeName, hasFieldChanged, isDEF, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setupFinished, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsCompleteMethods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersionMethods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
-
Constructor Details
-
NRMaterial
public NRMaterial()Construct a default instance of the material -
NRMaterial
Construct a new instance of this node based on the details from the given node. If the node is not the right type, an exception will be thrown.- Parameters:
node- The node to copy- Throws:
IllegalArgumentException- The node is not a Group node
-