Interface MField

    • Method Detail

      • size

        int size()
        Get the size of the underlying data array. The size is the number of elements for that data type. So for an MFFloat the size would be the number of float values, but for an MFVec3f, it is the number of vectors in the returned array (where a vector is 3 consecutive array indexes in a flat array).
        Returns:
        The number of elements in this field array.
      • clear

        void clear()
        Removes all values in the field array, changing the array size to zero.
      • remove

        void remove​(int index)
        Remove one element of the field array at index position, if found. Initial element is at index 0.
        Parameters:
        index - position of element in field array that gets removed