Package org.web3d.x3d.sai.Shaders
Interface X3DVertexAttributeNode
- All Superinterfaces:
X3DGeometricPropertyNode
,X3DNode
- All Known Subinterfaces:
FloatVertexAttribute
,Matrix3VertexAttribute
,Matrix4VertexAttribute
- All Known Implementing Classes:
FloatVertexAttribute
,Matrix3VertexAttribute
,Matrix4VertexAttribute
public interface X3DVertexAttributeNode extends X3DGeometricPropertyNode
Base type for all nodes that specify per-vertex attribute information to the shader.
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 X3DMetadataObject
getMetadata()
Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.java.lang.String
getName()
Provide String value from inputOutput SFString field named name.X3DVertexAttributeNode
setMetadata(X3DMetadataObject newValue)
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.X3DVertexAttributeNode
setName(java.lang.String newValue)
Accessor method to assign String value to inputOutput SFString field named name.
-
Method Details
-
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 interfaceX3DGeometricPropertyNode
- Specified by:
getMetadata
in interfaceX3DNode
- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
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 interfaceX3DGeometricPropertyNode
- Specified by:
setMetadata
in interfaceX3DNode
- Parameters:
newValue
- is new value for the metadata field.- Returns:
X3DVertexAttributeNode
- 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
-
getName
java.lang.String getName()Provide String value from inputOutput SFString field named name.- Returns:
- value of name field
-
setName
Accessor method to assign String value to inputOutput SFString field named name.- Parameters:
newValue
- is new value for the name field.- Returns:
X3DVertexAttributeNode
- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-