PixiJS classes use this type instead of ArrayBuffer and typed arrays to support expressions like geometry.buffers[0].data[0] = position.x.
geometry.buffers[0].data[0] = position.x
Gives access to indexing and length field
length
If data is actually ArrayBuffer and throws Exception on indexing - its user problem :)
Read-only. The length of the ArrayBuffer (in bytes).
Returns a section of an ArrayBuffer.
Generated using TypeDoc
PixiJS classes use this type instead of ArrayBuffer and typed arrays to support expressions like
geometry.buffers[0].data[0] = position.x
.Gives access to indexing and
length
fieldIf data is actually ArrayBuffer and throws Exception on indexing - its user problem :)