Class SoSFVec4i32


public class SoSFVec4i32 extends SoSField
Field containing a homogeneous four-dimensional vector. Field containing a homogeneous four-dimensional vector, each component being an integer.

SoSFVec4i32s are written to file as four integer values separated by whitespace.

See Also:
  • Constructor Details

  • Method Details

    • getValue

      public SbVec4i32 getValue()
      Returns this field's value.
    • setValue

      public void setValue(int x, int y, int z, int w)
      Sets the field to the given values.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class SoField
    • setValue

      public void setValue(SbVec4i32 newValue)
      Sets this field to newValue.
    • setValue

      public void setValue(SbVec4d vec4d)
      Convenience method that allows you to specify a field value using a double precision variable. The specified value is converted to int value, then stored.
    • setValue

      public void setValue(SbVec4f vec4f)
      Convenience method that allows you to specify a field value using a single precision variable. The specified value is converted to int value, then stored.
    • setValue

      public void setValue(int[] xyzw)
      Sets the field to the given values.