setZ method
Sets the z component of the item at the given index.
Implementation
@override
InterleavedBufferAttribute setZ(int index, num z) {
if ( this.normalized ) z = MathUtils.normalize( z, this.array );
data!.array[index * data!.stride + offset + 2] = z.toDouble();
return this;
}