setZ method
Sets the z component of the vector at the given index.
Implementation
BufferAttribute setZ(int index, num z) {
array[index * itemSize + 2] = z;
return this;
}
Sets the z component of the vector at the given index.
BufferAttribute setZ(int index, num z) {
array[index * itemSize + 2] = z;
return this;
}