Post

Matrix3VertexAttribute

Overview

Matrix3VertexAttribute defines a set of per-vertex 3x3 matrix attributes.

The Matrix3VertexAttribute node belongs to the Shaders component and requires at least level 1, its default container field is attrib. It is available from X3D version 3.0 or higher.

Hierarchy

1
2
3
4
+ X3DNode
  + X3DGeometricPropertyNode
    + X3DVertexAttributeNode
      + Matrix3VertexAttribute

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFString [ ] name “”

Required name for this particular VertexAttribute instance.

Hints

Warning

  • name is not specified if this instance is a USE node.

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

value specifies an arbitrary collection of matrix 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.

See Also

This post is licensed under CC BY 4.0 by the author.