HTML Encoding and Default Values⤴
<FloatVertexAttribute
metadata='X3DMetadataObject'
name='""'
numComponents='4'
value='[]'
></FloatVertexAttribute>
Inheritance⤴
- Core/X3DNode(18)
- Rendering/X3DGeometricPropertyNode(7)
- X3DVertexAttributeNode(1)
- FloatVertexAttribute
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 | Core/X3DNode | Field to add metadata information | ||
name | SFString | "" | X3DVertexAttributeNode | 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. | ||
numComponents | SFInt32 | 4 | [1..4] | The numComponents field specifies how many consecutive floating point values should be grouped together per vertex. The length of the value field shall be a multiple of numComponents. | ||
value | MFFloat | [] | (-inf, inf) | The value field specifies an arbitrary collection of floating point values that will be passed to the shader as per-vertex information. The specific type mapping to the individual shading language data types is in the appropriate language-specific annex. |