FloatVertexAttribute
The FloatVertexAttribute node defines a set of per-vertex single precision floating point attributes.
Inheritance
Code
XML encoding
<FloatVertexAttribute value='' numComponents='4' name='auto' logFeature='' />
Classic encoding
FloatVertexAttribute { value [] numComponents 4 name "auto" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
name | SFString | initializeOnly | auto | 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 | SFFloat | initializeOnly | 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 | |
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
value | MFFloat | inputOutput | 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 |