Interface GeneratedCubeMapTexture
- All Superinterfaces:
X3DAppearanceChildNode,X3DEnvironmentTextureNode,X3DNode,X3DTextureNode
- All Known Implementing Classes:
GeneratedCubeMapTexture
GeneratedCubeMapTexture is a texture node that defines a cubic environment map that sources its data from internally generated 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.
GeneratedCubeMapTexture node tooltip: (X3D version 3.1 or later) [X3DEnvironmentTextureNode] GeneratedCubeMapTexture is a texture node that defines a cubic environment map that sources its data from internally generated images. The viewpoint of the generated texture is the location and orientation of the associated geometry in world space.
- Hint: can contain a single TextureProperties node.
- Hint: typically a Box is used for applying the GeneratedCubeMapTexture.
- Warning: requires X3D profile='Full' or else include <component name='CubeMapTexturing' level='3'/>
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.intgetSize()Provide int value within allowed range of (0,infinity) from initializeOnly SFInt32 field named size.Provide org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.Provide String enumeration value (baseType xs:NMTOKEN) ["NONE" | "NEXT_FRAME_ONLY" | "ALWAYS"] from inputOutput SFString field named update.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.setSize(int newValue) Accessor method to assign int value to initializeOnly SFInt32 field named size.setTextureProperties(TextureProperties newValue) Accessor method to assign org.web3d.x3d.sai.Texturing.TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.Accessor method to assign String enumeration value ("NONE" | "NEXT_FRAME_ONLY" | "ALWAYS") to inputOutput SFString field named update.
-
Method Details
-
getDescription
String getDescription()Provide String value from inputOutput SFString field named description.
Tooltip: Author-provided prose that describes intended purpose of the url asset.- Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for " quotation-mark character).
- Specified by:
getDescriptionin interfaceX3DEnvironmentTextureNode- Specified by:
getDescriptionin interfaceX3DTextureNode- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.
Tooltip: Author-provided prose that describes intended purpose of the url asset.- Hint: many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for " quotation-mark character).
- Specified by:
setDescriptionin interfaceX3DEnvironmentTextureNode- Specified by:
setDescriptionin interfaceX3DTextureNode- Parameters:
newValue- is new value for the description field.- Returns:
GeneratedCubeMapTexture- 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.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/core.html#Metadata
- Specified by:
getMetadatain interfaceX3DAppearanceChildNode- Specified by:
getMetadatain interfaceX3DEnvironmentTextureNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain 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.
Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/core.html#Metadata
- Specified by:
setMetadatain interfaceX3DAppearanceChildNode- Specified by:
setMetadatain interfaceX3DEnvironmentTextureNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DTextureNode- Parameters:
newValue- is new value for the metadata field.- Returns:
GeneratedCubeMapTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getSize
int getSize()Provide int value within allowed range of (0,infinity) from initializeOnly SFInt32 field named size.
Tooltip: (0,+infinity) size indicates the resolution of the generated images in number of pixels per side. *- Returns:
- value of size field
-
setSize
Accessor method to assign int value to initializeOnly SFInt32 field named size.
Tooltip: (0,+infinity) size indicates the resolution of the generated images in number of pixels per side. *- Parameters:
newValue- is new value for the size field.- Returns:
GeneratedCubeMapTexture- 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.
Tooltip: [TextureProperties] Single contained TextureProperties node that can specify additional visual attributes applied to corresponding texture images. *- 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.
Tooltip: [TextureProperties] Single contained TextureProperties node that can specify additional visual attributes applied to corresponding texture images. *- Parameters:
newValue- is new value for the textureProperties field.- Returns:
GeneratedCubeMapTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getUpdate
String getUpdate()Provide String enumeration value (baseType xs:NMTOKEN) ["NONE" | "NEXT_FRAME_ONLY" | "ALWAYS"] from inputOutput SFString field named update.
Tooltip: update controls regeneration of the texture.- Warning: An object trying to render itself in the scene graph can cause infinite loops.
- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Returns:
- value of update field
-
setUpdate
Accessor method to assign String enumeration value ("NONE" | "NEXT_FRAME_ONLY" | "ALWAYS") to inputOutput SFString field named update.
Tooltip: update controls regeneration of the texture.- Warning: An object trying to render itself in the scene graph can cause infinite loops.
- Warning: do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
- Parameters:
newValue- is new value for the update field.- Returns:
GeneratedCubeMapTexture- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-