Vector2List.view constructor Null safety
- Float32List buffer,
- [int offset = 0,
- 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
Vector2List.view(Float32List buffer, [int offset = 0, int stride = 0])
: super.view(buffer, 2, offset, stride);