Class SoVertexShaderParameterMatrix

All Implemented Interfaces:
SafeDisposable

public class SoVertexShaderParameterMatrix extends SoVertexShaderParameter
Vertex shader parameter node storing a matrix. This node allows the application to provide a per-vertex parameter of type 4x4 float matrix to shader objects, e.g. SoVertexShader.

Vertex shader parameter nodes must be inserted in the scene graph.

See the base classes SoShaderParameter and SoVertexShaderParameter for details.

File format/default:

VertexShaderParameterMatrix {

    name ""
    identifier 0
    value 1 0 0 0
    0 1 0 0
    0 0 1 0
    0 0 0 1
}

See Also:
  • Field Details

    • value

      public final SoMFMatrix value
      Specifies the parameter's values.
  • Constructor Details

    • SoVertexShaderParameterMatrix

      public SoVertexShaderParameterMatrix()
      Constructor.