public class TextureBackgroundObject extends X3DConcreteNode implements TextureBackground
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the TextureBackground element: EnvironmentalEffects
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static java.lang.String |
fromField_BACKTEXTURE
fromField ROUTE name for SFNode field named backTexture.
|
static java.lang.String |
fromField_BINDTIME
fromField ROUTE name for SFTime field named bindTime.
|
static java.lang.String |
fromField_BOTTOMTEXTURE
fromField ROUTE name for SFNode field named bottomTexture.
|
static java.lang.String |
fromField_FRONTTEXTURE
fromField ROUTE name for SFNode field named frontTexture.
|
static java.lang.String |
fromField_GROUNDANGLE
fromField ROUTE name for MFFloat field named groundAngle.
|
static java.lang.String |
fromField_GROUNDCOLOR
fromField ROUTE name for MFColor field named groundColor.
|
static java.lang.String |
fromField_ISBOUND
fromField ROUTE name for SFBool field named isBound.
|
static java.lang.String |
fromField_LEFTTEXTURE
fromField ROUTE name for SFNode field named leftTexture.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_RIGHTTEXTURE
fromField ROUTE name for SFNode field named rightTexture.
|
static java.lang.String |
fromField_SKYANGLE
fromField ROUTE name for MFFloat field named skyAngle.
|
static java.lang.String |
fromField_SKYCOLOR
fromField ROUTE name for MFColor field named skyColor.
|
static java.lang.String |
fromField_TOPTEXTURE
fromField ROUTE name for SFNode field named topTexture.
|
static java.lang.String |
fromField_TRANSPARENCY
fromField ROUTE name for SFFloat field named transparency.
|
static int |
LEVEL
Integer constant LEVEL provides default X3D EnvironmentalEffects component level for this element: 3
|
static java.lang.String |
NAME
String constant NAME provides name of this element: TextureBackground.
|
static float[] |
SKYCOLOR_DEFAULT_VALUE
MFColor field named skyColor has default value {0f,0f,0f} (Java syntax) or 0 0 0 (XML syntax).
|
static java.lang.String |
toField_BACKTEXTURE
toField ROUTE name for SFNode field named backTexture.
|
static java.lang.String |
toField_BOTTOMTEXTURE
toField ROUTE name for SFNode field named bottomTexture.
|
static java.lang.String |
toField_FRONTTEXTURE
toField ROUTE name for SFNode field named frontTexture.
|
static java.lang.String |
toField_GROUNDANGLE
toField ROUTE name for MFFloat field named groundAngle.
|
static java.lang.String |
toField_GROUNDCOLOR
toField ROUTE name for MFColor field named groundColor.
|
static java.lang.String |
toField_LEFTTEXTURE
toField ROUTE name for SFNode field named leftTexture.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_RIGHTTEXTURE
toField ROUTE name for SFNode field named rightTexture.
|
static java.lang.String |
toField_SET_BIND
toField ROUTE name for SFBool field named set_bind.
|
static java.lang.String |
toField_SKYANGLE
toField ROUTE name for MFFloat field named skyAngle.
|
static java.lang.String |
toField_SKYCOLOR
toField ROUTE name for MFColor field named skyColor.
|
static java.lang.String |
toField_TOPTEXTURE
toField ROUTE name for SFNode field named topTexture.
|
static java.lang.String |
toField_TRANSPARENCY
toField ROUTE name for SFFloat field named transparency.
|
static float |
TRANSPARENCY_DEFAULT_VALUE
SFFloat field named transparency has default value 0f (Java syntax) or 0 (XML syntax).
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
TextureBackgroundObject()
Constructor for TextureBackgroundObject to initialize member variables with default values.
|
TextureBackgroundObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
TextureBackgroundObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
TextureBackgroundObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
TextureBackgroundObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
TextureBackgroundObject |
addGroundAngle(float newValue)
Add singleton float value to MFFloat groundAngle field.
|
TextureBackgroundObject |
addGroundAngle(SFFloatObject newValue)
Add singleton SFFloatObject value to MFFloat groundAngle field.
|
TextureBackgroundObject |
addGroundColor(SFColorObject newValue)
Add singleton SFColorObject value to MFColor groundColor field.
|
TextureBackgroundObject |
addSkyAngle(float newValue)
Add singleton float value to MFFloat skyAngle field.
|
TextureBackgroundObject |
addSkyAngle(SFFloatObject newValue)
Add singleton SFFloatObject value to MFFloat skyAngle field.
|
TextureBackgroundObject |
addSkyColor(SFColorObject newValue)
Add singleton SFColorObject value to MFColor skyColor field.
|
TextureBackgroundObject |
clearBackTexture()
Utility method to clear SFNode value of backTexture field.
|
TextureBackgroundObject |
clearBottomTexture()
Utility method to clear SFNode value of bottomTexture field.
|
TextureBackgroundObject |
clearFrontTexture()
Utility method to clear SFNode value of frontTexture field.
|
TextureBackgroundObject |
clearGroundAngle()
Utility method to clear MFFloat value of groundAngle field.
|
TextureBackgroundObject |
clearLeftTexture()
Utility method to clear SFNode value of leftTexture field.
|
TextureBackgroundObject |
clearMetadata()
Utility method to clear SFNode value of metadata field.
|
TextureBackgroundObject |
clearRightTexture()
Utility method to clear SFNode value of rightTexture field.
|
TextureBackgroundObject |
clearSkyAngle()
Utility method to clear MFFloat value of skyAngle field.
|
TextureBackgroundObject |
clearTopTexture()
Utility method to clear SFNode value of topTexture field.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteElement |
findElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to provide object reference to node or statement by name attribute, if found as part of this element or in a contained element.
|
X3DConcreteNode |
findNodeByDEF(java.lang.String DEFvalue)
Recursive method to provide object reference to node by DEF, if found as this node or in a contained node.
|
java.lang.String |
getAccessType(java.lang.String fieldName)
Indicate accessType corresponding to given fieldName.
|
X3DNode |
getBackTexture()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, from inputOutput SFNode field backTexture.
|
double |
getBindTime()
Provide double value in seconds from outputOnly SFTime field named bindTime.
|
X3DNode |
getBottomTexture()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, from inputOutput SFNode field bottomTexture.
|
java.lang.String |
getComponent()
Defines X3D component for the TextureBackground element: EnvironmentalEffects
|
int |
getComponentLevel()
Provides default X3D component level for this element: 3
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: TextureBackground
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
X3DNode |
getFrontTexture()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, from inputOutput SFNode field frontTexture.
|
float[] |
getGroundAngle()
Provide array of Float results unit axis, angle (in radians) within allowed range of [0,1.5708] from inputOutput MFFloat field named groundAngle.
|
java.util.ArrayList<java.lang.Float> |
getGroundAngleList()
Utility method to get ArrayList value of MFFloat groundAngle field, similar to
getGroundAngle(). |
float[] |
getGroundColor()
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput MFColor field named groundColor.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
boolean |
getIsBound()
Provide boolean value from outputOnly SFBool field named isBound.
|
X3DNode |
getLeftTexture()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, from inputOutput SFNode field leftTexture.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
X3DNode |
getRightTexture()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, from inputOutput SFNode field rightTexture.
|
float[] |
getSkyAngle()
Provide array of Float results unit axis, angle (in radians) within allowed range of [0,3.1416] from inputOutput MFFloat field named skyAngle.
|
java.util.ArrayList<java.lang.Float> |
getSkyAngleList()
Utility method to get ArrayList value of MFFloat skyAngle field, similar to
getSkyAngle(). |
float[] |
getSkyColor()
Provide array of 3-tuple float results using RGB values [0..1] using RGB values [0..1] from inputOutput MFColor field named skyColor.
|
X3DNode |
getTopTexture()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, from inputOutput SFNode field topTexture.
|
float |
getTransparency()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named transparency.
|
boolean |
hasBackTexture()
Indicate whether an object is available for inputOutput SFNode field backTexture.
|
boolean |
hasBottomTexture()
Indicate whether an object is available for inputOutput SFNode field bottomTexture.
|
boolean |
hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
Recursive method to determine whether node or statement with given name attribute is found, meaning both objects are attached to same scene graph.
|
boolean |
hasFrontTexture()
Indicate whether an object is available for inputOutput SFNode field frontTexture.
|
boolean |
hasLeftTexture()
Indicate whether an object is available for inputOutput SFNode field leftTexture.
|
boolean |
hasMetadata()
Indicate whether an object is available for inputOutput SFNode field metadata.
|
boolean |
hasNodeByDEF(java.lang.String DEFvalue)
Recursive method to determine whether node with DEFvalue is found, meaning both objects are attached to same scene graph.
|
boolean |
hasRightTexture()
Indicate whether an object is available for inputOutput SFNode field rightTexture.
|
boolean |
hasTopTexture()
Indicate whether an object is available for inputOutput SFNode field topTexture.
|
void |
initialize()
Initialize all member variables to default values.
|
TextureBackgroundObject |
setBackTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field backTexture.
|
TextureBackgroundObject |
setBackTexture(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, to inputOutput SFNode field backTexture.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTexture2DNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Texturing.MultiTextureObject);
if (!
|
TextureBackgroundObject |
setBottomTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field bottomTexture.
|
TextureBackgroundObject |
setBottomTexture(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, to inputOutput SFNode field bottomTexture.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTexture2DNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Texturing.MultiTextureObject);
if (!
|
TextureBackgroundObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
TextureBackgroundObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
TextureBackgroundObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
TextureBackgroundObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
TextureBackgroundObject |
setFrontTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field frontTexture.
|
TextureBackgroundObject |
setFrontTexture(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, to inputOutput SFNode field frontTexture.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTexture2DNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Texturing.MultiTextureObject);
if (!
|
TextureBackgroundObject |
setGroundAngle(java.util.ArrayList<java.lang.Float> newValue)
Assign ArrayList value of MFFloat groundAngle field, similar to
setGroundAngle(float[]). |
TextureBackgroundObject |
setGroundAngle(float[] newValue)
Assign Float array unit axis, angle (in radians) within allowed range of [0,1.5708] to inputOutput MFFloat field named groundAngle.
|
TextureBackgroundObject |
setGroundAngle(int[] newValue)
Assign floating-point array value of MFFloat groundAngle field, similar to
setGroundAngle(float[]). |
TextureBackgroundObject |
setGroundAngle(MFFloatObject newValue)
Assign typed object value to MFFloat groundAngle field, similar to
setGroundAngle(float[]). |
TextureBackgroundObject |
setGroundColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput MFColor field named groundColor.
|
TextureBackgroundObject |
setGroundColor(MFColorObject newValue)
Assign typed object value to MFColor groundColor field, similar to
setGroundColor(float[]). |
TextureBackgroundObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
TextureBackgroundObject |
setLeftTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field leftTexture.
|
TextureBackgroundObject |
setLeftTexture(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, to inputOutput SFNode field leftTexture.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTexture2DNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Texturing.MultiTextureObject);
if (!
|
TextureBackgroundObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
TextureBackgroundObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
TextureBackgroundObject |
setRightTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field rightTexture.
|
TextureBackgroundObject |
setRightTexture(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, to inputOutput SFNode field rightTexture.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTexture2DNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Texturing.MultiTextureObject);
if (!
|
TextureBackgroundObject |
setSkyAngle(java.util.ArrayList<java.lang.Float> newValue)
Assign ArrayList value of MFFloat skyAngle field, similar to
setSkyAngle(float[]). |
TextureBackgroundObject |
setSkyAngle(float[] newValue)
Assign Float array unit axis, angle (in radians) within allowed range of [0,3.1416] to inputOutput MFFloat field named skyAngle.
|
TextureBackgroundObject |
setSkyAngle(int[] newValue)
Assign floating-point array value of MFFloat skyAngle field, similar to
setSkyAngle(float[]). |
TextureBackgroundObject |
setSkyAngle(MFFloatObject newValue)
Assign typed object value to MFFloat skyAngle field, similar to
setSkyAngle(float[]). |
TextureBackgroundObject |
setSkyColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput MFColor field named skyColor.
|
TextureBackgroundObject |
setSkyColor(MFColorObject newValue)
Assign typed object value to MFColor skyColor field, similar to
setSkyColor(float[]). |
TextureBackgroundObject |
setTopTexture(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field topTexture.
|
TextureBackgroundObject |
setTopTexture(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to X3DTexture2DNode|MultiTexture, to inputOutput SFNode field topTexture.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.sai.Texturing.X3DTexture2DNode) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Texturing.MultiTextureObject);
if (!
|
TextureBackgroundObject |
setTransparency(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named transparency.
|
TextureBackgroundObject |
setTransparency(SFFloatObject newValue)
Assign typed object value to SFFloat transparency field, similar to
setTransparency(float). |
TextureBackgroundObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
TextureBackgroundObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
TextureBackgroundObject |
setUSE(TextureBackgroundObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
java.lang.String |
toStringClassicVRML(int indentLevel)
Recursive method to provide ClassicVRML string serialization.
|
java.lang.String |
toStringVRML97(int indentLevel)
Recursive method to provide VRML97 string serialization.
|
java.lang.String |
toStringX3D(int indentLevel)
Recursive method to provide X3D string serialization of this model subgraph, utilizing XML encoding and conforming to X3D Canonical Form.
|
java.lang.String |
validate()
Recursive method to validate this element plus all contained nodes and statements,
using both datatype-specification value checks and regular expression (regex) checking of corresponding string values.
|
getContainerFieldAlternateValues, getContainerFieldOverride, getCssClass, getDEF, getUSE, isNode, isStatement, isUSE, resetContainerFieldOverride, setConcreteCssClass, setConcreteDEF, setConcreteUSE, setContainerFieldOverrideclearParentObject, findAncestorElementByName, findAncestorProtoBody, findAncestorSceneObject, findAncestorX3DObject, getPackageName, getParentObject, getValidationResult, hasAncestorElementByName, hasAncestorProtoBody, hasAncestorSceneObject, hasAncestorX3DObject, setParentObject, toStringClassicVRML, toStringVRML97, toStringX3Dpublic static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final float[] SKYCOLOR_DEFAULT_VALUE
public static final float TRANSPARENCY_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_BACKTEXTURE
public static final java.lang.String toField_BACKTEXTURE
public static final java.lang.String fromField_BINDTIME
public static final java.lang.String fromField_BOTTOMTEXTURE
public static final java.lang.String toField_BOTTOMTEXTURE
public static final java.lang.String fromField_FRONTTEXTURE
public static final java.lang.String toField_FRONTTEXTURE
public static final java.lang.String fromField_GROUNDANGLE
public static final java.lang.String toField_GROUNDANGLE
public static final java.lang.String fromField_GROUNDCOLOR
public static final java.lang.String toField_GROUNDCOLOR
public static final java.lang.String fromField_ISBOUND
public static final java.lang.String fromField_LEFTTEXTURE
public static final java.lang.String toField_LEFTTEXTURE
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_RIGHTTEXTURE
public static final java.lang.String toField_RIGHTTEXTURE
public static final java.lang.String toField_SET_BIND
public static final java.lang.String fromField_SKYANGLE
public static final java.lang.String toField_SKYANGLE
public static final java.lang.String fromField_SKYCOLOR
public static final java.lang.String toField_SKYCOLOR
public static final java.lang.String fromField_TOPTEXTURE
public static final java.lang.String toField_TOPTEXTURE
public static final java.lang.String fromField_TRANSPARENCY
public static final java.lang.String toField_TRANSPARENCY
public TextureBackgroundObject()
public TextureBackgroundObject(java.lang.String DEFlabel)
DEFlabel - unique DEF name for this X3D nodepublic final java.lang.String getElementName()
getElementName in class X3DConcreteElementpublic final java.lang.String getComponent()
getComponent in class X3DConcreteElementpublic final int getComponentLevel()
getComponentLevel in class X3DConcreteElementpublic java.lang.String getFieldType(java.lang.String fieldName)
getFieldType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_TYPEpublic java.lang.String getAccessType(java.lang.String fieldName)
getAccessType in class X3DConcreteElementfieldName - name of field in this X3D nodeConfigurationProperties.ERROR_UNKNOWN_FIELD_ACCESSTYPEpublic final java.lang.String getContainerFieldDefault()
getContainerFieldDefault in class X3DConcreteNodepublic final void initialize()
initialize in class X3DConcreteNodepublic X3DNode getBackTexture()
getBackTexture in interface TextureBackground
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture).
- Warning: each child image node must have a different containerField value.
public TextureBackgroundObject setBackTexture(X3DNode newValue)
setBackTexture in interface TextureBackgroundnewValue - is new value for the backTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture). Warning: each child image node must have a different containerField value.public TextureBackgroundObject clearBackTexture()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setBackTexture(ProtoInstanceObject newValue)
newValue - is new value for the backTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBackTexture(X3DNode)public boolean hasBackTexture()
getBackTexture(),
getBackTextureProtoInstance()public double getBindTime()
getBindTime in interface X3DBindableNodegetBindTime in interface TextureBackgroundgetBindTime in interface X3DBackgroundNodepublic X3DNode getBottomTexture()
getBottomTexture in interface TextureBackground
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture).
- Warning: each child image node must have a different containerField value.
public TextureBackgroundObject setBottomTexture(X3DNode newValue)
setBottomTexture in interface TextureBackgroundnewValue - is new value for the bottomTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture). Warning: each child image node must have a different containerField value.public TextureBackgroundObject clearBottomTexture()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setBottomTexture(ProtoInstanceObject newValue)
newValue - is new value for the bottomTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setBottomTexture(X3DNode)public boolean hasBottomTexture()
getBottomTexture(),
getBottomTextureProtoInstance()public X3DNode getFrontTexture()
getFrontTexture in interface TextureBackground
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture).
- Warning: each child image node must have a different containerField value.
public TextureBackgroundObject setFrontTexture(X3DNode newValue)
setFrontTexture in interface TextureBackgroundnewValue - is new value for the frontTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture). Warning: each child image node must have a different containerField value.public TextureBackgroundObject clearFrontTexture()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setFrontTexture(ProtoInstanceObject newValue)
newValue - is new value for the frontTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setFrontTexture(X3DNode)public boolean hasFrontTexture()
getFrontTexture(),
getFrontTextureProtoInstance()public float[] getGroundAngle()
getGroundAngle in interface TextureBackgroundgetGroundAngle in interface X3DBackgroundNodepublic java.util.ArrayList<java.lang.Float> getGroundAngleList()
getGroundAngle().public TextureBackgroundObject setGroundAngle(float[] newValue)
setGroundAngle in interface TextureBackgroundsetGroundAngle in interface X3DBackgroundNodenewValue - is new value for the groundAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setGroundAngle(MFFloatObject newValue)
setGroundAngle(float[]).newValue - is new value for the groundAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setGroundAngle(java.util.ArrayList<java.lang.Float> newValue)
setGroundAngle(float[]).newValue - is new value for the groundAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject clearGroundAngle()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setGroundAngle(int[] newValue)
setGroundAngle(float[]).newValue - is new value for the groundAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addGroundAngle(float newValue)
newValue - is new value to add to the groundAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addGroundAngle(SFFloatObject newValue)
newValue - is new value to add to the groundAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float[] getGroundColor()
getGroundColor in interface TextureBackgroundgetGroundColor in interface X3DBackgroundNodepublic TextureBackgroundObject setGroundColor(float[] newValue)
setGroundColor in interface TextureBackgroundsetGroundColor in interface X3DBackgroundNodenewValue - is new value for the groundColor field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setGroundColor(MFColorObject newValue)
setGroundColor(float[]).newValue - is new value for the groundColor field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addGroundColor(SFColorObject newValue)
newValue - is new value to add to the groundColor field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getIsBound()
getIsBound in interface X3DBindableNodegetIsBound in interface TextureBackgroundgetIsBound in interface X3DBackgroundNodepublic X3DNode getLeftTexture()
getLeftTexture in interface TextureBackground
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture).
- Warning: each child image node must have a different containerField value.
public TextureBackgroundObject setLeftTexture(X3DNode newValue)
setLeftTexture in interface TextureBackgroundnewValue - is new value for the leftTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture). Warning: each child image node must have a different containerField value.public TextureBackgroundObject clearLeftTexture()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setLeftTexture(ProtoInstanceObject newValue)
newValue - is new value for the leftTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setLeftTexture(X3DNode)public boolean hasLeftTexture()
getLeftTexture(),
getLeftTextureProtoInstance()public X3DMetadataObject getMetadata()
getMetadata in interface X3DBindableNodegetMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface TextureBackgroundgetMetadata in interface X3DBackgroundNodegetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic TextureBackgroundObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DBindableNodesetMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface TextureBackgroundsetMetadata in interface X3DBackgroundNodesetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(ProtoInstanceObject),
X3D Scene Authoring Hints: Metadata Nodespublic TextureBackgroundObject clearMetadata()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setMetadata(X3DMetadataObject)public boolean hasMetadata()
getMetadata(),
getMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic X3DNode getRightTexture()
getRightTexture in interface TextureBackground
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture).
- Warning: each child image node must have a different containerField value.
public TextureBackgroundObject setRightTexture(X3DNode newValue)
setRightTexture in interface TextureBackgroundnewValue - is new value for the rightTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture). Warning: each child image node must have a different containerField value.public TextureBackgroundObject clearRightTexture()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setRightTexture(ProtoInstanceObject newValue)
newValue - is new value for the rightTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setRightTexture(X3DNode)public boolean hasRightTexture()
getRightTexture(),
getRightTextureProtoInstance()public float[] getSkyAngle()
getSkyAngle in interface TextureBackgroundgetSkyAngle in interface X3DBackgroundNodepublic java.util.ArrayList<java.lang.Float> getSkyAngleList()
getSkyAngle().public TextureBackgroundObject setSkyAngle(float[] newValue)
setSkyAngle in interface TextureBackgroundsetSkyAngle in interface X3DBackgroundNodenewValue - is new value for the skyAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setSkyAngle(MFFloatObject newValue)
setSkyAngle(float[]).newValue - is new value for the skyAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setSkyAngle(java.util.ArrayList<java.lang.Float> newValue)
setSkyAngle(float[]).newValue - is new value for the skyAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject clearSkyAngle()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setSkyAngle(int[] newValue)
setSkyAngle(float[]).newValue - is new value for the skyAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addSkyAngle(float newValue)
newValue - is new value to add to the skyAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addSkyAngle(SFFloatObject newValue)
newValue - is new value to add to the skyAngle field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float[] getSkyColor()
getSkyColor in interface TextureBackgroundgetSkyColor in interface X3DBackgroundNodepublic TextureBackgroundObject setSkyColor(float[] newValue)
setSkyColor in interface TextureBackgroundsetSkyColor in interface X3DBackgroundNodenewValue - is new value for the skyColor field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setSkyColor(MFColorObject newValue)
setSkyColor(float[]).newValue - is new value for the skyColor field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addSkyColor(SFColorObject newValue)
newValue - is new value to add to the skyColor field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DNode getTopTexture()
getTopTexture in interface TextureBackground
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture).
- Warning: each child image node must have a different containerField value.
public TextureBackgroundObject setTopTexture(X3DNode newValue)
setTopTexture in interface TextureBackgroundnewValue - is new value for the topTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
Tooltip: [X3DTexture2DNode | MultiTexture] Parent TextureBackground element can contain up to six image nodes (ImageTexture PixelTexture MovieTexture MultiTexture). Warning: each child image node must have a different containerField value.public TextureBackgroundObject clearTopTexture()
TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject setTopTexture(ProtoInstanceObject newValue)
newValue - is new value for the topTexture field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).setTopTexture(X3DNode)public boolean hasTopTexture()
getTopTexture(),
getTopTextureProtoInstance()public float getTransparency()
getTransparency in interface TextureBackgroundgetTransparency in interface X3DBackgroundNodepublic TextureBackgroundObject setTransparency(float newValue)
setTransparency in interface TextureBackgroundsetTransparency in interface X3DBackgroundNodenewValue - is new value for the transparency field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setTransparency(SFFloatObject newValue)
setTransparency(float).newValue - is new value for the transparency field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TextureBackgroundObject setDEF(java.lang.String newValue)
setDEF in interface X3DBindableNodesetDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface TextureBackgroundsetDEF in interface X3DBackgroundNodesetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TextureBackgroundObject 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 X3DBindableNodesetUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface TextureBackgroundsetUSE in interface X3DBackgroundNodesetUSE in class X3DConcreteNodenewValue - is new value for the USE field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TextureBackgroundObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DBindableNodesetCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface TextureBackgroundsetCssClass in interface X3DBackgroundNodesetCssClass in class X3DConcreteNodenewValue - is new value for the class field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.TextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public ISObject getIS()
getIS in class X3DConcreteNodepublic TextureBackgroundObject setUSE(TextureBackgroundObject DEFnode)
setUSE(String).
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.
DEFnode - must have a DEF value definedTextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TextureBackgroundObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueTextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsTextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TextureBackgroundObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addTextureBackgroundObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public java.lang.String toStringX3D(int indentLevel)
toStringX3D in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_X3D,
X3DObject.FILE_EXTENSION_XML,
X3DObject.toStringXML(),
X3DObject.toFileXML(String),
X3DObject.toFileX3D(String),
X3D XML Encoding,
X3D Compressed Binary Encoding: X3D Canonical Formpublic java.lang.String toStringClassicVRML(int indentLevel)
toStringClassicVRML in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_CLASSICVRML,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding,
Extensible 3D (X3D) encodings Part 2: Classic VRML encoding, Annex A: Grammarpublic java.lang.String toStringVRML97(int indentLevel)
toStringVRML97 in class X3DConcreteElementindentLevel - number of levels of indentation for this elementX3DObject.FILE_EXTENSION_VRML97,
X3D Resources: Virtual Reality Modeling Language (VRML) 97,
Virtual Reality Modeling Language (VRML) 97 specification,
VRML 97 v2.1 Amendmentpublic X3DConcreteElement findElementByNameValue(java.lang.String nameValue)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public X3DConcreteElement findElementByNameValue(java.lang.String nameValue, java.lang.String elementName)
findElementByNameValue in class X3DConcreteElementnameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findNodeByDEF(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasElementByNameValue(java.lang.String nameValue,
java.lang.String elementName)
nameValue - is value of the name field being searched for in this element and child elements(if any)elementName - identifies the element of interest (meta MetadataString ProtoDeclare CADassembly ProtoInstance HAnimHumanoid etc.)findElementByNameValue(String, String)public X3DConcreteNode findNodeByDEF(java.lang.String DEFvalue)
findNodeByDEF in class X3DConcreteElementDEFvalue - is value of the name field being searched for in this element and child elements(if any)findElementByNameValue(String),
X3DConcreteElement.hasAncestorSceneObject(),
X3DConcreteElement.findAncestorX3DObject()public boolean hasNodeByDEF(java.lang.String DEFvalue)
DEFvalue - is value of the name field being searched for in this element and child elements(if any)findNodeByDEF(String)public java.lang.String validate()
validate in class X3DConcreteElementCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.