Post

Matrix4VertexAttribute

Matrix4VertexAttribute

Overview

Matrix4VertexAttribute defines a set of per-vertex 4x4 matrix attributes.

The Matrix4VertexAttribute 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
      + Matrix4VertexAttribute

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.

MFMatrix4f [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.