Vector4List.view constructor Null safety

Vector4List.view(
  1. Float32List buffer,
  2. [int offset = 0,
  3. int stride = 0]
)

Create a new vector list as a view of buffer. Optionally it is possible to specify a offset in the buffer and a stride between each vector.

Implementation

Vector4List.view(Float32List buffer, [int offset = 0, int stride = 0])
    : super.view(buffer, 4, offset, stride);