public interface Appearance extends X3DAppearanceNode
| Modifier and Type | Method and Description |
|---|---|
void |
addShaders(X3DNode[] newValue)
Add array of child shaders nodes to array of existing nodes (if any).
|
FillProperties |
getFillProperties()
Provide FillProperties instance (using a properly typed node) from inputOutput SFNode field fillProperties.
|
LineProperties |
getLineProperties()
Provide LineProperties instance (using a properly typed node) from inputOutput SFNode field lineProperties.
|
X3DMaterialNode |
getMaterial()
Provide X3DMaterialNode instance (using a properly typed node) from inputOutput SFNode field material.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
X3DNode[] |
getShaders()
Provide array of X3DNode results (using an array consisting of properly typed nodes or ProtoInstanceObjects) from inputOutput MFNode field shaders.
|
X3DTextureNode |
getTexture()
Provide X3DTextureNode instance (using a properly typed node) from inputOutput SFNode field texture.
|
X3DTextureTransformNode |
getTextureTransform()
Provide X3DTextureTransformNode instance (using a properly typed node) from inputOutput SFNode field textureTransform.
|
Appearance |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Appearance |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Appearance |
setFillProperties(FillProperties newValue)
Assign FillProperties instance (using a properly typed node) to inputOutput SFNode field fillProperties.
|
Appearance |
setLineProperties(LineProperties newValue)
Assign LineProperties instance (using a properly typed node) to inputOutput SFNode field lineProperties.
|
Appearance |
setMaterial(X3DMaterialNode newValue)
Assign X3DMaterialNode instance (using a properly typed node) to inputOutput SFNode field material.
|
Appearance |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
void |
setShaders(X3DNode newValue)
Set single child shaders node, replacing prior array of existing nodes (if any).
|
Appearance |
setShaders(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) to inputOutput MFNode field shaders.
|
Appearance |
setTexture(X3DTextureNode newValue)
Assign X3DTextureNode instance (using a properly typed node) to inputOutput SFNode field texture.
|
Appearance |
setTextureTransform(X3DTextureTransformNode newValue)
Assign X3DTextureTransformNode instance (using a properly typed node) to inputOutput SFNode field textureTransform.
|
Appearance |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
FillProperties getFillProperties()
Appearance setFillProperties(FillProperties newValue)
newValue - is new value for the fillProperties field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).LineProperties getLineProperties()
Appearance setLineProperties(LineProperties newValue)
newValue - is new value for the lineProperties field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMaterialNode getMaterial()
Appearance setMaterial(X3DMaterialNode newValue)
newValue - is new value for the material field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DAppearanceNodegetMetadata in interface X3DNodeAppearance setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DAppearanceNodesetMetadata in interface X3DNodenewValue - is new value for the metadata field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode[] getShaders()
X3DShaderNodeAppearance setShaders(X3DNode[] newValue)
newValue - is new value for the shaders field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).void addShaders(X3DNode[] newValue)
newValue - is new value array to be appended the shaders field.void setShaders(X3DNode newValue)
newValue - is new node for the shaders fieldX3DTextureNode getTexture()
Appearance setTexture(X3DTextureNode newValue)
newValue - is new value for the texture field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DTextureTransformNode getTextureTransform()
Appearance setTextureTransform(X3DTextureTransformNode newValue)
newValue - is new value for the textureTransform field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Appearance setDEF(java.lang.String newValue)
setDEF in interface X3DAppearanceNodesetDEF in interface X3DNodenewValue - is new value for the DEF field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Appearance setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DAppearanceNodesetUSE in interface X3DNodenewValue - is new value for the USE field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Appearance setCssClass(java.lang.String newValue)
setCssClass in interface X3DAppearanceNodesetCssClass in interface X3DNodenewValue - is new value for the class field.Appearance - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.