public class TexturePropertiesObject extends X3DConcreteNode implements TextureProperties
| Modifier and Type | Field and Description |
|---|---|
static float |
ANISOTROPICDEGREE_DEFAULT_VALUE
SFFloat field named anisotropicDegree has default value 1f (Java syntax) or 1 (XML syntax).
|
static float[] |
BORDERCOLOR_DEFAULT_VALUE
SFColorRGBA field named borderColor has default value {0f,0f,0f,0f} (Java syntax) or 0 0 0 0 (XML syntax).
|
static int |
BORDERWIDTH_DEFAULT_VALUE
SFInt32 field named borderWidth has default value 0 (Java syntax) or 0 (XML syntax).
|
static java.lang.String |
BOUNDARYMODER_CLAMP
SFString field named boundaryModeR can equal this enumeration value "CLAMP" (Java syntax) or CLAMP (XML syntax).
|
static java.lang.String |
BOUNDARYMODER_CLAMP_TO_BOUNDARY
SFString field named boundaryModeR can equal this enumeration value "CLAMP_TO_BOUNDARY" (Java syntax) or CLAMP_TO_BOUNDARY (XML syntax).
|
static java.lang.String |
BOUNDARYMODER_CLAMP_TO_EDGE
SFString field named boundaryModeR can equal this enumeration value "CLAMP_TO_EDGE" (Java syntax) or CLAMP_TO_EDGE (XML syntax).
|
static java.lang.String |
BOUNDARYMODER_DEFAULT_VALUE
SFString field named boundaryModeR has default value "REPEAT" (Java syntax) or REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODER_MIRRORED_REPEAT
SFString field named boundaryModeR can equal this enumeration value "MIRRORED_REPEAT" (Java syntax) or MIRRORED_REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODER_REPEAT
SFString field named boundaryModeR can equal this enumeration value "REPEAT" (Java syntax) or REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODES_CLAMP
SFString field named boundaryModeS can equal this enumeration value "CLAMP" (Java syntax) or CLAMP (XML syntax).
|
static java.lang.String |
BOUNDARYMODES_CLAMP_TO_BOUNDARY
SFString field named boundaryModeS can equal this enumeration value "CLAMP_TO_BOUNDARY" (Java syntax) or CLAMP_TO_BOUNDARY (XML syntax).
|
static java.lang.String |
BOUNDARYMODES_CLAMP_TO_EDGE
SFString field named boundaryModeS can equal this enumeration value "CLAMP_TO_EDGE" (Java syntax) or CLAMP_TO_EDGE (XML syntax).
|
static java.lang.String |
BOUNDARYMODES_DEFAULT_VALUE
SFString field named boundaryModeS has default value "REPEAT" (Java syntax) or REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODES_MIRRORED_REPEAT
SFString field named boundaryModeS can equal this enumeration value "MIRRORED_REPEAT" (Java syntax) or MIRRORED_REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODES_REPEAT
SFString field named boundaryModeS can equal this enumeration value "REPEAT" (Java syntax) or REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODET_CLAMP
SFString field named boundaryModeT can equal this enumeration value "CLAMP" (Java syntax) or CLAMP (XML syntax).
|
static java.lang.String |
BOUNDARYMODET_CLAMP_TO_BOUNDARY
SFString field named boundaryModeT can equal this enumeration value "CLAMP_TO_BOUNDARY" (Java syntax) or CLAMP_TO_BOUNDARY (XML syntax).
|
static java.lang.String |
BOUNDARYMODET_CLAMP_TO_EDGE
SFString field named boundaryModeT can equal this enumeration value "CLAMP_TO_EDGE" (Java syntax) or CLAMP_TO_EDGE (XML syntax).
|
static java.lang.String |
BOUNDARYMODET_DEFAULT_VALUE
SFString field named boundaryModeT has default value "REPEAT" (Java syntax) or REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODET_MIRRORED_REPEAT
SFString field named boundaryModeT can equal this enumeration value "MIRRORED_REPEAT" (Java syntax) or MIRRORED_REPEAT (XML syntax).
|
static java.lang.String |
BOUNDARYMODET_REPEAT
SFString field named boundaryModeT can equal this enumeration value "REPEAT" (Java syntax) or REPEAT (XML syntax).
|
static java.lang.String |
COMPONENT
String constant COMPONENT defines X3D component for the TextureProperties element: Texturing
|
static java.lang.String |
containerField_DEFAULT_VALUE
containerField describes typical field relationship of a node to its parent.
|
static java.lang.String |
fromField_ANISOTROPICDEGREE
fromField ROUTE name for SFFloat field named anisotropicDegree.
|
static java.lang.String |
fromField_BORDERCOLOR
fromField ROUTE name for SFColorRGBA field named borderColor.
|
static java.lang.String |
fromField_BORDERWIDTH
fromField ROUTE name for SFInt32 field named borderWidth.
|
static java.lang.String |
fromField_BOUNDARYMODER
fromField ROUTE name for SFString field named boundaryModeR.
|
static java.lang.String |
fromField_BOUNDARYMODES
fromField ROUTE name for SFString field named boundaryModeS.
|
static java.lang.String |
fromField_BOUNDARYMODET
fromField ROUTE name for SFString field named boundaryModeT.
|
static java.lang.String |
fromField_MAGNIFICATIONFILTER
fromField ROUTE name for SFString field named magnificationFilter.
|
static java.lang.String |
fromField_METADATA
fromField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
fromField_MINIFICATIONFILTER
fromField ROUTE name for SFString field named minificationFilter.
|
static java.lang.String |
fromField_TEXTURECOMPRESSION
fromField ROUTE name for SFString field named textureCompression.
|
static java.lang.String |
fromField_TEXTUREPRIORITY
fromField ROUTE name for SFFloat field named texturePriority.
|
static boolean |
GENERATEMIPMAPS_DEFAULT_VALUE
SFBool field named generateMipMaps has default value false (Java syntax) or false (XML syntax).
|
static int |
LEVEL
Integer constant LEVEL provides default X3D Texturing component level for this element: 2
|
static java.lang.String |
MAGNIFICATIONFILTER_AVG_PIXEL
SFString field named magnificationFilter can equal this enumeration value "AVG_PIXEL" (Java syntax) or AVG_PIXEL (XML syntax).
|
static java.lang.String |
MAGNIFICATIONFILTER_DEFAULT
SFString field named magnificationFilter can equal this enumeration value "DEFAULT" (Java syntax) or DEFAULT (XML syntax).
|
static java.lang.String |
MAGNIFICATIONFILTER_DEFAULT_VALUE
SFString field named magnificationFilter has default value "FASTEST" (Java syntax) or FASTEST (XML syntax).
|
static java.lang.String |
MAGNIFICATIONFILTER_FASTEST
SFString field named magnificationFilter can equal this enumeration value "FASTEST" (Java syntax) or FASTEST (XML syntax).
|
static java.lang.String |
MAGNIFICATIONFILTER_NEAREST_PIXEL
SFString field named magnificationFilter can equal this enumeration value "NEAREST_PIXEL" (Java syntax) or NEAREST_PIXEL (XML syntax).
|
static java.lang.String |
MAGNIFICATIONFILTER_NICEST
SFString field named magnificationFilter can equal this enumeration value "NICEST" (Java syntax) or NICEST (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_AVG_PIXEL
SFString field named minificationFilter can equal this enumeration value "AVG_PIXEL" (Java syntax) or AVG_PIXEL (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_AVG_PIXEL_AVG_MIPMAP
SFString field named minificationFilter can equal this enumeration value "AVG_PIXEL_AVG_MIPMAP" (Java syntax) or AVG_PIXEL_AVG_MIPMAP (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_AVG_PIXEL_NEAREST_MIPMAP
SFString field named minificationFilter can equal this enumeration value "AVG_PIXEL_NEAREST_MIPMAP" (Java syntax) or AVG_PIXEL_NEAREST_MIPMAP (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_DEFAULT
SFString field named minificationFilter can equal this enumeration value "DEFAULT" (Java syntax) or DEFAULT (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_DEFAULT_VALUE
SFString field named minificationFilter has default value "FASTEST" (Java syntax) or FASTEST (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_FASTEST
SFString field named minificationFilter can equal this enumeration value "FASTEST" (Java syntax) or FASTEST (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_NEAREST_PIXEL
SFString field named minificationFilter can equal this enumeration value "NEAREST_PIXEL" (Java syntax) or NEAREST_PIXEL (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_NEAREST_PIXEL_AVG_MIPMAP
SFString field named minificationFilter can equal this enumeration value "NEAREST_PIXEL_AVG_MIPMAP" (Java syntax) or NEAREST_PIXEL_AVG_MIPMAP (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_NEAREST_PIXEL_NEAREST_MIPMAP
SFString field named minificationFilter can equal this enumeration value "NEAREST_PIXEL_NEAREST_MIPMAP" (Java syntax) or NEAREST_PIXEL_NEAREST_MIPMAP (XML syntax).
|
static java.lang.String |
MINIFICATIONFILTER_NICEST
SFString field named minificationFilter can equal this enumeration value "NICEST" (Java syntax) or NICEST (XML syntax).
|
static java.lang.String |
NAME
String constant NAME provides name of this element: TextureProperties.
|
static java.lang.String |
TEXTURECOMPRESSION_DEFAULT
SFString field named textureCompression can equal this enumeration value "DEFAULT" (Java syntax) or DEFAULT (XML syntax).
|
static java.lang.String |
TEXTURECOMPRESSION_DEFAULT_VALUE
SFString field named textureCompression has default value "FASTEST" (Java syntax) or FASTEST (XML syntax).
|
static java.lang.String |
TEXTURECOMPRESSION_FASTEST
SFString field named textureCompression can equal this enumeration value "FASTEST" (Java syntax) or FASTEST (XML syntax).
|
static java.lang.String |
TEXTURECOMPRESSION_HIGH
SFString field named textureCompression can equal this enumeration value "HIGH" (Java syntax) or HIGH (XML syntax).
|
static java.lang.String |
TEXTURECOMPRESSION_LOW
SFString field named textureCompression can equal this enumeration value "LOW" (Java syntax) or LOW (XML syntax).
|
static java.lang.String |
TEXTURECOMPRESSION_MEDIUM
SFString field named textureCompression can equal this enumeration value "MEDIUM" (Java syntax) or MEDIUM (XML syntax).
|
static java.lang.String |
TEXTURECOMPRESSION_NICEST
SFString field named textureCompression can equal this enumeration value "NICEST" (Java syntax) or NICEST (XML syntax).
|
static float |
TEXTUREPRIORITY_DEFAULT_VALUE
SFFloat field named texturePriority has default value 0f (Java syntax) or 0 (XML syntax).
|
static java.lang.String |
toField_ANISOTROPICDEGREE
toField ROUTE name for SFFloat field named anisotropicDegree.
|
static java.lang.String |
toField_BORDERCOLOR
toField ROUTE name for SFColorRGBA field named borderColor.
|
static java.lang.String |
toField_BORDERWIDTH
toField ROUTE name for SFInt32 field named borderWidth.
|
static java.lang.String |
toField_BOUNDARYMODER
toField ROUTE name for SFString field named boundaryModeR.
|
static java.lang.String |
toField_BOUNDARYMODES
toField ROUTE name for SFString field named boundaryModeS.
|
static java.lang.String |
toField_BOUNDARYMODET
toField ROUTE name for SFString field named boundaryModeT.
|
static java.lang.String |
toField_MAGNIFICATIONFILTER
toField ROUTE name for SFString field named magnificationFilter.
|
static java.lang.String |
toField_METADATA
toField ROUTE name for SFNode field named metadata.
|
static java.lang.String |
toField_MINIFICATIONFILTER
toField ROUTE name for SFString field named minificationFilter.
|
static java.lang.String |
toField_TEXTURECOMPRESSION
toField ROUTE name for SFString field named textureCompression.
|
static java.lang.String |
toField_TEXTUREPRIORITY
toField ROUTE name for SFFloat field named texturePriority.
|
CLASS_DEFAULT_VALUE, containerField_ALTERNATE_VALUES, DEF_DEFAULT_VALUE, USE_DEFAULT_VALUEvalidationResult| Constructor and Description |
|---|
TexturePropertiesObject()
Constructor for TexturePropertiesObject to initialize member variables with default values.
|
TexturePropertiesObject(java.lang.String DEFlabel)
Utility constructor that assigns DEF label after initializing member variables with default values.
|
| Modifier and Type | Method and Description |
|---|---|
TexturePropertiesObject |
addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
TexturePropertiesObject |
addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
TexturePropertiesObject |
addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
TexturePropertiesObject |
clearMetadata()
Utility method to clear SFNode value of metadata 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.
|
float |
getAnisotropicDegree()
Provide float value within allowed range of [1,infinity) from inputOutput SFFloat field named anisotropicDegree.
|
float[] |
getBorderColor()
Provide array of 4-tuple float results using RGBA values [0..1] using RGBA values [0..1] from inputOutput SFColorRGBA field named borderColor.
|
int |
getBorderWidth()
Provide int value within allowed range of [0,infinity) from inputOutput SFInt32 field named borderWidth.
|
java.lang.String |
getBoundaryModeR()
Provide String enumeration value ['CLAMP'|'CLAMP_TO_EDGE'|'CLAMP_TO_BOUNDARY'|'MIRRORED_REPEAT'|'REPEAT'] from inputOutput SFString field named boundaryModeR.
|
java.lang.String |
getBoundaryModeS()
Provide String enumeration value ['CLAMP'|'CLAMP_TO_EDGE'|'CLAMP_TO_BOUNDARY'|'MIRRORED_REPEAT'|'REPEAT'] from inputOutput SFString field named boundaryModeS.
|
java.lang.String |
getBoundaryModeT()
Provide String enumeration value ['CLAMP'|'CLAMP_TO_EDGE'|'CLAMP_TO_BOUNDARY'|'MIRRORED_REPEAT'|'REPEAT'] from inputOutput SFString field named boundaryModeT.
|
java.lang.String |
getComponent()
Defines X3D component for the TextureProperties element: Texturing
|
int |
getComponentLevel()
Provides default X3D component level for this element: 2
|
java.lang.String |
getContainerFieldDefault()
containerField describes typical field relationship of a node to its parent.
|
java.lang.String |
getElementName()
Provides name of this element: TextureProperties
|
java.lang.String |
getFieldType(java.lang.String fieldName)
Indicate type corresponding to given fieldName.
|
boolean |
getGenerateMipMaps()
Provide boolean value from initializeOnly SFBool field named generateMipMaps.
|
ISObject |
getIS()
Provide field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
java.lang.String |
getMagnificationFilter()
Provide String enumeration value ['AVG_PIXEL'|'DEFAULT'|'FASTEST'|'NEAREST_PIXEL'|'NICEST'] from inputOutput SFString field named magnificationFilter.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String |
getMinificationFilter()
Provide String enumeration value ['AVG_PIXEL'|'AVG_PIXEL_AVG_MIPMAP'|'AVG_PIXEL_NEAREST_MIPMAP'|'DEFAULT'|'FASTEST'|'NEAREST_PIXEL'|'NEAREST_PIXEL_AVG_MIPMAP'|'NEAREST_PIXEL_NEAREST_MIPMAP'|'NICEST'] from inputOutput SFString field named minificationFilter.
|
java.lang.String |
getTextureCompression()
Provide String enumeration value ['DEFAULT'|'FASTEST'|'HIGH'|'LOW'|'MEDIUM'|'NICEST'] from inputOutput SFString field named textureCompression.
|
float |
getTexturePriority()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named texturePriority.
|
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 |
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.
|
void |
initialize()
Initialize all member variables to default values.
|
TexturePropertiesObject |
setAnisotropicDegree(float newValue)
Assign float value within allowed range of [1,infinity) to inputOutput SFFloat field named anisotropicDegree.
|
TexturePropertiesObject |
setAnisotropicDegree(SFFloatObject newValue)
Assign typed object value to SFFloat anisotropicDegree field, similar to
setAnisotropicDegree(float). |
TexturePropertiesObject |
setBorderColor(float[] newValue)
Assign 4-tuple float array using RGBA values [0..1] using RGBA values [0..1] to inputOutput SFColorRGBA field named borderColor.
|
TexturePropertiesObject |
setBorderColor(float red,
float green,
float blue,
float alpha)
Assign values to SFColorRGBA borderColor field, similar to
setBorderColor(float[]). |
TexturePropertiesObject |
setBorderColor(SFColorRGBAObject newValue)
Assign typed object value to SFColorRGBA borderColor field, similar to
setBorderColor(float[]). |
TexturePropertiesObject |
setBorderWidth(int newValue)
Assign int value within allowed range of [0,infinity) to inputOutput SFInt32 field named borderWidth.
|
TexturePropertiesObject |
setBorderWidth(SFInt32Object newValue)
Assign typed object value to SFInt32 borderWidth field, similar to
setBorderWidth(int). |
TexturePropertiesObject |
setBoundaryModeR(SFStringObject newValue)
Assign typed object value to SFString boundaryModeR field, similar to
setBoundaryModeR(String). |
TexturePropertiesObject |
setBoundaryModeR(java.lang.String newValue)
Assign String enumeration value ("CLAMP"|"CLAMP_TO_EDGE"|"CLAMP_TO_BOUNDARY"|"MIRRORED_REPEAT"|"REPEAT") ['CLAMP'|'CLAMP_TO_EDGE'|'CLAMP_TO_BOUNDARY'|'MIRRORED_REPEAT'|'REPEAT'] to inputOutput SFString field named boundaryModeR.
|
TexturePropertiesObject |
setBoundaryModeS(SFStringObject newValue)
Assign typed object value to SFString boundaryModeS field, similar to
setBoundaryModeS(String). |
TexturePropertiesObject |
setBoundaryModeS(java.lang.String newValue)
Assign String enumeration value ("CLAMP"|"CLAMP_TO_EDGE"|"CLAMP_TO_BOUNDARY"|"MIRRORED_REPEAT"|"REPEAT") ['CLAMP'|'CLAMP_TO_EDGE'|'CLAMP_TO_BOUNDARY'|'MIRRORED_REPEAT'|'REPEAT'] to inputOutput SFString field named boundaryModeS.
|
TexturePropertiesObject |
setBoundaryModeT(SFStringObject newValue)
Assign typed object value to SFString boundaryModeT field, similar to
setBoundaryModeT(String). |
TexturePropertiesObject |
setBoundaryModeT(java.lang.String newValue)
Assign String enumeration value ("CLAMP"|"CLAMP_TO_EDGE"|"CLAMP_TO_BOUNDARY"|"MIRRORED_REPEAT"|"REPEAT") ['CLAMP'|'CLAMP_TO_EDGE'|'CLAMP_TO_BOUNDARY'|'MIRRORED_REPEAT'|'REPEAT'] to inputOutput SFString field named boundaryModeT.
|
TexturePropertiesObject |
setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
TexturePropertiesObject |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
TexturePropertiesObject |
setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
TexturePropertiesObject |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
TexturePropertiesObject |
setGenerateMipMaps(boolean newValue)
Assign boolean value to initializeOnly SFBool field named generateMipMaps.
|
TexturePropertiesObject |
setGenerateMipMaps(SFBoolObject newValue)
Assign typed object value to SFBool generateMipMaps field, similar to
setGenerateMipMaps(boolean). |
TexturePropertiesObject |
setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
TexturePropertiesObject |
setMagnificationFilter(SFStringObject newValue)
Assign typed object value to SFString magnificationFilter field, similar to
setMagnificationFilter(String). |
TexturePropertiesObject |
setMagnificationFilter(java.lang.String newValue)
Assign String enumeration value ("AVG_PIXEL"|"DEFAULT"|"FASTEST"|"NEAREST_PIXEL"|"NICEST") ['AVG_PIXEL'|'DEFAULT'|'FASTEST'|'NEAREST_PIXEL'|'NICEST'] to inputOutput SFString field named magnificationFilter.
|
TexturePropertiesObject |
setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
TexturePropertiesObject |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
TexturePropertiesObject |
setMinificationFilter(SFStringObject newValue)
Assign typed object value to SFString minificationFilter field, similar to
setMinificationFilter(String). |
TexturePropertiesObject |
setMinificationFilter(java.lang.String newValue)
Assign String enumeration value ("AVG_PIXEL"|"AVG_PIXEL_AVG_MIPMAP"|"AVG_PIXEL_NEAREST_MIPMAP"|"DEFAULT"|"FASTEST"|"NEAREST_PIXEL"|"NEAREST_PIXEL_AVG_MIPMAP"|"NEAREST_PIXEL_NEAREST_MIPMAP"|"NICEST") ['AVG_PIXEL'|'AVG_PIXEL_AVG_MIPMAP'|'AVG_PIXEL_NEAREST_MIPMAP'|'DEFAULT'|'FASTEST'|'NEAREST_PIXEL'|'NEAREST_PIXEL_AVG_MIPMAP'|'NEAREST_PIXEL_NEAREST_MIPMAP'|'NICEST'] to inputOutput SFString field named minificationFilter.
|
TexturePropertiesObject |
setTextureCompression(SFStringObject newValue)
Assign typed object value to SFString textureCompression field, similar to
setTextureCompression(String). |
TexturePropertiesObject |
setTextureCompression(java.lang.String newValue)
Assign String enumeration value ("DEFAULT"|"FASTEST"|"HIGH"|"LOW"|"MEDIUM"|"NICEST") ['DEFAULT'|'FASTEST'|'HIGH'|'LOW'|'MEDIUM'|'NICEST'] to inputOutput SFString field named textureCompression.
|
TexturePropertiesObject |
setTexturePriority(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named texturePriority.
|
TexturePropertiesObject |
setTexturePriority(SFFloatObject newValue)
Assign typed object value to SFFloat texturePriority field, similar to
setTexturePriority(float). |
TexturePropertiesObject |
setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
TexturePropertiesObject |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
TexturePropertiesObject |
setUSE(TexturePropertiesObject 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 BOUNDARYMODER_CLAMP
public static final java.lang.String BOUNDARYMODER_CLAMP_TO_EDGE
public static final java.lang.String BOUNDARYMODER_CLAMP_TO_BOUNDARY
public static final java.lang.String BOUNDARYMODER_MIRRORED_REPEAT
public static final java.lang.String BOUNDARYMODER_REPEAT
public static final java.lang.String BOUNDARYMODES_CLAMP
public static final java.lang.String BOUNDARYMODES_CLAMP_TO_EDGE
public static final java.lang.String BOUNDARYMODES_CLAMP_TO_BOUNDARY
public static final java.lang.String BOUNDARYMODES_MIRRORED_REPEAT
public static final java.lang.String BOUNDARYMODES_REPEAT
public static final java.lang.String BOUNDARYMODET_CLAMP
public static final java.lang.String BOUNDARYMODET_CLAMP_TO_EDGE
public static final java.lang.String BOUNDARYMODET_CLAMP_TO_BOUNDARY
public static final java.lang.String BOUNDARYMODET_MIRRORED_REPEAT
public static final java.lang.String BOUNDARYMODET_REPEAT
public static final java.lang.String MAGNIFICATIONFILTER_AVG_PIXEL
public static final java.lang.String MAGNIFICATIONFILTER_DEFAULT
public static final java.lang.String MAGNIFICATIONFILTER_FASTEST
public static final java.lang.String MAGNIFICATIONFILTER_NEAREST_PIXEL
public static final java.lang.String MAGNIFICATIONFILTER_NICEST
public static final java.lang.String MINIFICATIONFILTER_AVG_PIXEL
public static final java.lang.String MINIFICATIONFILTER_AVG_PIXEL_AVG_MIPMAP
public static final java.lang.String MINIFICATIONFILTER_AVG_PIXEL_NEAREST_MIPMAP
public static final java.lang.String MINIFICATIONFILTER_DEFAULT
public static final java.lang.String MINIFICATIONFILTER_FASTEST
public static final java.lang.String MINIFICATIONFILTER_NEAREST_PIXEL
public static final java.lang.String MINIFICATIONFILTER_NEAREST_PIXEL_AVG_MIPMAP
public static final java.lang.String MINIFICATIONFILTER_NEAREST_PIXEL_NEAREST_MIPMAP
public static final java.lang.String MINIFICATIONFILTER_NICEST
public static final java.lang.String TEXTURECOMPRESSION_DEFAULT
public static final java.lang.String TEXTURECOMPRESSION_FASTEST
public static final java.lang.String TEXTURECOMPRESSION_HIGH
public static final java.lang.String TEXTURECOMPRESSION_LOW
public static final java.lang.String TEXTURECOMPRESSION_MEDIUM
public static final java.lang.String TEXTURECOMPRESSION_NICEST
public static final java.lang.String NAME
public static final java.lang.String COMPONENT
public static final int LEVEL
public static final float ANISOTROPICDEGREE_DEFAULT_VALUE
public static final float[] BORDERCOLOR_DEFAULT_VALUE
public static final int BORDERWIDTH_DEFAULT_VALUE
public static final java.lang.String BOUNDARYMODER_DEFAULT_VALUE
public static final java.lang.String BOUNDARYMODES_DEFAULT_VALUE
public static final java.lang.String BOUNDARYMODET_DEFAULT_VALUE
public static final boolean GENERATEMIPMAPS_DEFAULT_VALUE
public static final java.lang.String MAGNIFICATIONFILTER_DEFAULT_VALUE
public static final java.lang.String MINIFICATIONFILTER_DEFAULT_VALUE
public static final java.lang.String TEXTURECOMPRESSION_DEFAULT_VALUE
public static final float TEXTUREPRIORITY_DEFAULT_VALUE
public static final java.lang.String containerField_DEFAULT_VALUE
public static final java.lang.String fromField_ANISOTROPICDEGREE
public static final java.lang.String toField_ANISOTROPICDEGREE
public static final java.lang.String fromField_BORDERCOLOR
public static final java.lang.String toField_BORDERCOLOR
public static final java.lang.String fromField_BORDERWIDTH
public static final java.lang.String toField_BORDERWIDTH
public static final java.lang.String fromField_BOUNDARYMODER
public static final java.lang.String toField_BOUNDARYMODER
public static final java.lang.String fromField_BOUNDARYMODES
public static final java.lang.String toField_BOUNDARYMODES
public static final java.lang.String fromField_BOUNDARYMODET
public static final java.lang.String toField_BOUNDARYMODET
public static final java.lang.String fromField_MAGNIFICATIONFILTER
public static final java.lang.String toField_MAGNIFICATIONFILTER
public static final java.lang.String fromField_METADATA
public static final java.lang.String toField_METADATA
public static final java.lang.String fromField_MINIFICATIONFILTER
public static final java.lang.String toField_MINIFICATIONFILTER
public static final java.lang.String fromField_TEXTURECOMPRESSION
public static final java.lang.String toField_TEXTURECOMPRESSION
public static final java.lang.String fromField_TEXTUREPRIORITY
public static final java.lang.String toField_TEXTUREPRIORITY
public TexturePropertiesObject()
public TexturePropertiesObject(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 float getAnisotropicDegree()
getAnisotropicDegree in interface TexturePropertiespublic TexturePropertiesObject setAnisotropicDegree(float newValue)
setAnisotropicDegree in interface TexturePropertiesnewValue - is new value for the anisotropicDegree field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setAnisotropicDegree(SFFloatObject newValue)
setAnisotropicDegree(float).newValue - is new value for the anisotropicDegree field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float[] getBorderColor()
getBorderColor in interface TexturePropertiespublic TexturePropertiesObject setBorderColor(float[] newValue)
setBorderColor in interface TexturePropertiesnewValue - is new value for the borderColor field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setBorderColor(SFColorRGBAObject newValue)
setBorderColor(float[]).newValue - is new value for the borderColor field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setBorderColor(float red, float green, float blue, float alpha)
setBorderColor(float[]).red - first componentgreen - second componentblue - third componentalpha - fourth component for opaqueness (1 - transparency)TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public int getBorderWidth()
getBorderWidth in interface TexturePropertiespublic TexturePropertiesObject setBorderWidth(int newValue)
setBorderWidth in interface TexturePropertiesnewValue - is new value for the borderWidth field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setBorderWidth(SFInt32Object newValue)
setBorderWidth(int).newValue - is new value for the borderWidth field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getBoundaryModeR()
CLAMP, CLAMP_TO_EDGE, CLAMP_TO_BOUNDARY, MIRRORED_REPEAT, REPEAT.getBoundaryModeR in interface TexturePropertiespublic TexturePropertiesObject setBoundaryModeR(java.lang.String newValue)
CLAMP, CLAMP_TO_EDGE, CLAMP_TO_BOUNDARY, MIRRORED_REPEAT, REPEAT).
setBoundaryModeR in interface TexturePropertiesnewValue - is new value for the boundaryModeR field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setBoundaryModeR(SFStringObject newValue)
setBoundaryModeR(String).newValue - is new value for the boundaryModeR field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getBoundaryModeS()
CLAMP, CLAMP_TO_EDGE, CLAMP_TO_BOUNDARY, MIRRORED_REPEAT, REPEAT.getBoundaryModeS in interface TexturePropertiespublic TexturePropertiesObject setBoundaryModeS(java.lang.String newValue)
CLAMP, CLAMP_TO_EDGE, CLAMP_TO_BOUNDARY, MIRRORED_REPEAT, REPEAT).
setBoundaryModeS in interface TexturePropertiesnewValue - is new value for the boundaryModeS field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setBoundaryModeS(SFStringObject newValue)
setBoundaryModeS(String).newValue - is new value for the boundaryModeS field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getBoundaryModeT()
CLAMP, CLAMP_TO_EDGE, CLAMP_TO_BOUNDARY, MIRRORED_REPEAT, REPEAT.getBoundaryModeT in interface TexturePropertiespublic TexturePropertiesObject setBoundaryModeT(java.lang.String newValue)
CLAMP, CLAMP_TO_EDGE, CLAMP_TO_BOUNDARY, MIRRORED_REPEAT, REPEAT).
setBoundaryModeT in interface TexturePropertiesnewValue - is new value for the boundaryModeT field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setBoundaryModeT(SFStringObject newValue)
setBoundaryModeT(String).newValue - is new value for the boundaryModeT field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public boolean getGenerateMipMaps()
getGenerateMipMaps in interface TexturePropertiespublic TexturePropertiesObject setGenerateMipMaps(boolean newValue)
setGenerateMipMaps in interface TexturePropertiesnewValue - is new value for the generateMipMaps field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setGenerateMipMaps(SFBoolObject newValue)
setGenerateMipMaps(boolean).newValue - is new value for the generateMipMaps field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getMagnificationFilter()
AVG_PIXEL, DEFAULT, FASTEST, NEAREST_PIXEL, NICEST.getMagnificationFilter in interface TexturePropertiespublic TexturePropertiesObject setMagnificationFilter(java.lang.String newValue)
AVG_PIXEL, DEFAULT, FASTEST, NEAREST_PIXEL, NICEST).
setMagnificationFilter in interface TexturePropertiesnewValue - is new value for the magnificationFilter field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setMagnificationFilter(SFStringObject newValue)
setMagnificationFilter(String).newValue - is new value for the magnificationFilter field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public X3DMetadataObject getMetadata()
getMetadata in interface X3DNodegetMetadata in interface TexturePropertiesgetMetadataProtoInstance(),
X3D Scene Authoring Hints: Metadata Nodespublic TexturePropertiesObject setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodesetMetadata in interface TexturePropertiessetMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.TexturePropertiesObject - 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 TexturePropertiesObject clearMetadata()
TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TexturePropertiesObject setMetadata(ProtoInstanceObject newValue)
setMetadata in class X3DConcreteNodenewValue - is new value for the metadata field.TexturePropertiesObject - 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 java.lang.String getMinificationFilter()
AVG_PIXEL, AVG_PIXEL_AVG_MIPMAP, AVG_PIXEL_NEAREST_MIPMAP, DEFAULT, FASTEST, NEAREST_PIXEL, NEAREST_PIXEL_AVG_MIPMAP, NEAREST_PIXEL_NEAREST_MIPMAP, NICEST.getMinificationFilter in interface TexturePropertiespublic TexturePropertiesObject setMinificationFilter(java.lang.String newValue)
AVG_PIXEL, AVG_PIXEL_AVG_MIPMAP, AVG_PIXEL_NEAREST_MIPMAP, DEFAULT, FASTEST, NEAREST_PIXEL, NEAREST_PIXEL_AVG_MIPMAP, NEAREST_PIXEL_NEAREST_MIPMAP, NICEST).
setMinificationFilter in interface TexturePropertiesnewValue - is new value for the minificationFilter field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setMinificationFilter(SFStringObject newValue)
setMinificationFilter(String).newValue - is new value for the minificationFilter field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public java.lang.String getTextureCompression()
DEFAULT, FASTEST, HIGH, LOW, MEDIUM, NICEST.getTextureCompression in interface TexturePropertiespublic TexturePropertiesObject setTextureCompression(java.lang.String newValue)
DEFAULT, FASTEST, HIGH, LOW, MEDIUM, NICEST).
setTextureCompression in interface TexturePropertiesnewValue - is new value for the textureCompression field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setTextureCompression(SFStringObject newValue)
setTextureCompression(String).newValue - is new value for the textureCompression field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public float getTexturePriority()
getTexturePriority in interface TexturePropertiespublic TexturePropertiesObject setTexturePriority(float newValue)
setTexturePriority in interface TexturePropertiesnewValue - is new value for the texturePriority field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setTexturePriority(SFFloatObject newValue)
setTexturePriority(float).newValue - is new value for the texturePriority field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TexturePropertiesObject setDEF(java.lang.String newValue)
setDEF in interface X3DNodesetDEF in interface TexturePropertiessetDEF in class X3DConcreteNodenewValue - is new value for the DEF field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setDEF(SFStringObject newValue)
setDEF(String).newValue - is new value for the DEF field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TexturePropertiesObject 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 X3DNodesetUSE in interface TexturePropertiessetUSE in class X3DConcreteNodenewValue - is new value for the USE field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setUSE(SFStringObject newValue)
setUSE(String).newValue - is new value for the USE field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public final TexturePropertiesObject setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodesetCssClass in interface TexturePropertiessetCssClass in class X3DConcreteNodenewValue - is new value for the class field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setCssClass(SFStringObject newValue)
setCssClass(String).newValue - is new value for the class field.TexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject setIS(ISObject newValue)
setIS in class X3DConcreteNodenewValue - is new value for the description field.TexturePropertiesObject - 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 TexturePropertiesObject setUSE(TexturePropertiesObject 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 definedTexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).public TexturePropertiesObject addComments(java.lang.String newComment)
addComments in class X3DConcreteElementnewComment - initial valueTexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TexturePropertiesObject addComments(java.lang.String[] newComments)
addComments in class X3DConcreteElementnewComments - array of commentsTexturePropertiesObject - namely this same object to allow sequential method pipelining (i.e. consecutive
setAttribute method invocations).public TexturePropertiesObject addComments(CommentsBlock newCommentsBlock)
addComments in class X3DConcreteElementnewCommentsBlock - block of comments to addTexturePropertiesObject - 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.