Class: X3DVertexAttributeNode

X3D: 3.3
Component: Shaders
Status:
fully implemented

x3dom.nodeTypes. X3DVertexAttributeNode

This abstract node type is the base type for all node types that specify per-vertex attribute information to the shader.

HTML Encoding and Default Values

<X3DVertexAttributeNode metadata='X3DMetadataObject' name='""' ></X3DVertexAttributeNode>

Inheritance


Constructor

X3DVertexAttributeNode(ctx)

Constructor for X3DVertexAttributeNode

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
metadata SFNode X3DMetadataObject X3DGeometricPropertyNode Field to add metadata information
name SFString "" The name field describes a name that is mapped to the shading language-specific name for describing per-vertex data. The appropriate shader language annex contains language-specific binding information.