setXY method

BufferAttribute<NativeArray<num>> setXY(
  1. int index,
  2. dynamic x,
  3. dynamic y
)

Implementation

BufferAttribute setXY(int index, x, y) {
  index *= itemSize;

  array[index + 0] = x;
  array[index + 1] = y;

  return this;
}