Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

FloatVertexAttribute

FloatVertexAttribute

FloatVertexAttribute defines a set of per-vertex single-precision floating-point attributes.

The FloatVertexAttribute node belongs to the Shaders component and its container field is attrib. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFString [ ] name ""

Required name for this particular VertexAttribute instance.

Warning

Name is not specified if this instance is a USE node.

SFInt32 [ ] numComponents 4 [1..4]

NumComponents pecifies how many consecutive floating-point values should be grouped together per vertex.

Hint

The length of the value field shall be a multiple of numComponents.

MFFloat [in, out] value [ ] [] (-∞,∞)

Value specifies an arbitrary collection of floating-point values that will be passed to the shader as per-vertex information.

Hint

The length of the value field shall be a multiple of numComponents.

Browser Compatibility

Titania X_ITE
yes yes

External Links