Interface X3DTexture2DNode
- All Superinterfaces:
X3DAppearanceChildNode
,X3DNode
,X3DSingleTextureNode
,X3DTextureNode
- All Known Subinterfaces:
ImageTexture
,MovieTexture
,PixelTexture
- All Known Implementing Classes:
ImageTexture
,MovieTexture
,PixelTexture
Base type for all nodes which specify 2D sources for texture images.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionProvide String value from inputOutput SFString field named description.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.boolean
Provide boolean value from initializeOnly SFBool field named repeatS.boolean
Provide boolean value from initializeOnly SFBool field named repeatT.Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.setDescription
(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setRepeatS
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named repeatS.setRepeatT
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named repeatT.setTextureProperties
(TextureProperties newValue) Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.
-
Method Details
-
getDescription
String getDescription()Provide String value from inputOutput SFString field named description.- Specified by:
getDescription
in interfaceX3DSingleTextureNode
- Specified by:
getDescription
in interfaceX3DTextureNode
- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.- Specified by:
setDescription
in interfaceX3DSingleTextureNode
- Specified by:
setDescription
in interfaceX3DTextureNode
- Parameters:
newValue
- is new value for the description field.- Returns:
X3DTexture2DNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
getMetadata
in interfaceX3DNode
- Specified by:
getMetadata
in interfaceX3DSingleTextureNode
- Specified by:
getMetadata
in interfaceX3DTextureNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadata
in interfaceX3DAppearanceChildNode
- Specified by:
setMetadata
in interfaceX3DNode
- Specified by:
setMetadata
in interfaceX3DSingleTextureNode
- Specified by:
setMetadata
in interfaceX3DTextureNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DTexture2DNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getRepeatS
boolean getRepeatS()Provide boolean value from initializeOnly SFBool field named repeatS.- Returns:
- value of repeatS field
-
setRepeatS
Accessor method to assign boolean value to initializeOnly SFBool field named repeatS.- Parameters:
newValue
- is new value for the repeatS field.- Returns:
X3DTexture2DNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getRepeatT
boolean getRepeatT()Provide boolean value from initializeOnly SFBool field named repeatT.- Returns:
- value of repeatT field
-
setRepeatT
Accessor method to assign boolean value to initializeOnly SFBool field named repeatT.- Parameters:
newValue
- is new value for the repeatT field.- Returns:
X3DTexture2DNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTextureProperties
TextureProperties getTextureProperties()Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.- Returns:
- value of textureProperties field
-
setTextureProperties
Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.- Parameters:
newValue
- is new value for the textureProperties field.- Returns:
X3DTexture2DNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-