Interface GeneratedCubeMapTexture
- All Superinterfaces:
X3DAppearanceChildNode,X3DEnvironmentTextureNode,X3DNode,X3DTextureNode
- All Known Implementing Classes:
GeneratedCubeMapTextureObject
public interface GeneratedCubeMapTexture extends X3DEnvironmentTextureNode
GeneratedCubeMapTexture is a texture node that defines a cubic environment map that sources its data from internally generated images.
X3D 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.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
X3D 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.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description X3DMetadataObjectgetMetadata()Provide 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.TexturePropertiesgetTextureProperties()Provide TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.java.lang.StringgetUpdate()Provide String enumeration value (baseType generatedCubeMapTextureUpdateChoices) ["NONE" | "NEXT_FRAME_ONLY" | "ALWAYS"] from inputOutput SFString field named update.GeneratedCubeMapTexturesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.GeneratedCubeMapTexturesetSize(int newValue)Accessor method to assign int value to initializeOnly SFInt32 field named size.GeneratedCubeMapTexturesetTextureProperties(TextureProperties newValue)Accessor method to assign TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.GeneratedCubeMapTexturesetUpdate(java.lang.String newValue)Accessor method to assign String enumeration value ("NONE" | "NEXT_FRAME_ONLY" | "ALWAYS") to inputOutput SFString field named update.
-
Method Details
-
getMetadata
X3DMetadataObject getMetadata()Provide 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/documents/specifications/19775-1/V3.3/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:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign 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/documents/specifications/19775-1/V3.3/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:
- X3D Scene Authoring Hints: Metadata Nodes
-
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 TextureProperties instance (using a properly typed node) from initializeOnly SFNode field textureProperties.- Returns:
- value of textureProperties field
-
setTextureProperties
Accessor method to assign TextureProperties instance (using a properly typed node) to initializeOnly SFNode field textureProperties.- 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
java.lang.String getUpdate()Provide String enumeration value (baseType generatedCubeMapTextureUpdateChoices) ["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).
-