Package org.web3d.x3d.sai.Layering
Interface X3DLayerNode
- All Superinterfaces:
X3DNode,X3DPickableObject
- All Known Subinterfaces:
Layer,LayoutLayer
- All Known Implementing Classes:
LayerObject,LayoutLayerObject
public interface X3DLayerNode extends X3DNode, X3DPickableObject
The X3DLayerNode abstract node type is the base node type for layer nodes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
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.java.lang.String[]getObjectType()Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.booleangetPickable()Provide boolean value from inputOutput SFBool field named pickable.X3DViewportNodegetViewport()Provide X3DViewportNode instance (using a properly typed node) from inputOutput SFNode field viewport.booleangetVisible()Provide boolean value from inputOutput SFBool field named visible.X3DLayerNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.X3DLayerNodesetObjectType(java.lang.String[] newValue)Accessor method to assign String enumeration array (""ALL"" | ""NONE"" | ""TERRAIN"") to inputOutput MFString field named objectType.X3DLayerNodesetPickable(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named pickable.X3DLayerNodesetViewport(X3DViewportNode newValue)Accessor method to assign X3DViewportNode instance (using a properly typed node) to inputOutput SFNode field viewport.X3DLayerNodesetVisible(boolean newValue)Accessor method to assign boolean value to inputOutput SFBool field named visible.
-
Method Details
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DNode- 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.- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DLayerNode- 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
-
getObjectType
java.lang.String[] getObjectType()Provide array of String enumeration results with quoted value(s) ["ALL","NONE","TERRAIN",...] from inputOutput MFString field named objectType.- Returns:
- value of objectType field
-
setObjectType
Accessor method to assign String enumeration array (""ALL"" | ""NONE"" | ""TERRAIN"") to inputOutput MFString field named objectType.- Parameters:
newValue- is new value for the objectType field.- Returns:
X3DLayerNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getPickable
boolean getPickable()Provide boolean value from inputOutput SFBool field named pickable.- Specified by:
getPickablein interfaceX3DPickableObject- Returns:
- value of pickable field
-
setPickable
Accessor method to assign boolean value to inputOutput SFBool field named pickable.- Specified by:
setPickablein interfaceX3DPickableObject- Parameters:
newValue- is new value for the pickable field.- Returns:
X3DLayerNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getViewport
X3DViewportNode getViewport()Provide X3DViewportNode instance (using a properly typed node) from inputOutput SFNode field viewport.- Returns:
- value of viewport field
-
setViewport
Accessor method to assign X3DViewportNode instance (using a properly typed node) to inputOutput SFNode field viewport.- Parameters:
newValue- is new value for the viewport field.- Returns:
X3DLayerNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getVisible
boolean getVisible()Provide boolean value from inputOutput SFBool field named visible.- Returns:
- value of visible field
-
setVisible
Accessor method to assign boolean value to inputOutput SFBool field named visible.- Parameters:
newValue- is new value for the visible field.- Returns:
X3DLayerNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-