Package org.web3d.x3d.sai.Shaders
Interface X3DVertexAttributeNode
- All Superinterfaces:
X3DGeometricPropertyNode,X3DNode
- All Known Subinterfaces:
FloatVertexAttribute,Matrix3VertexAttribute,Matrix4VertexAttribute
- All Known Implementing Classes:
FloatVertexAttributeObject,Matrix3VertexAttributeObject,Matrix4VertexAttributeObject
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 X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.java.lang.StringgetName()Provide String value from inputOutput SFString field named name.X3DVertexAttributeNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.X3DVertexAttributeNodesetName(java.lang.String newValue)Accessor method to assign String value to inputOutput SFString field named name.
-
Method Details
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DGeometricPropertyNode- 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 interfaceX3DGeometricPropertyNode- Specified by:
setMetadatain 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).
-