setXYZ method

  1. @override
InterleavedBufferAttribute setXYZ(
  1. int index,
  2. num x,
  3. num y,
  4. num z,
)
override

Implementation

@override
InterleavedBufferAttribute setXYZ(int index, x, y, z) {
  index = index * data!.stride + offset;

  data!.array[index + 0] = x;
  data!.array[index + 1] = y;
  data!.array[index + 2] = z;

  return this;
}