Class DynamicFloat32Array
Index
Constructors
constructor
-
Creates a new DynamicFloat32Array with the desired item capacity.
Parameters
- itemCapacity: number
The initial item capacity you would like to set for the array.
Returns DynamicFloat32Array
- itemCapacity: number
Accessors
item Length
-
get itemLength(): number
The number of items currently in the array.
Returns number
Methods
at
-
Gets value at index, NaN if no such index exists.
Parameters
- index: number
the index to get the value at.
Returns number
the value at the index provided.
- index: number
push
-
Pushes items to the end of the array.
Parameters
- item: number
The item to push into the array.
Returns void
- item: number
subarray
-
Gets a view of the original array from start to end (exclusive of end).
Parameters
- start: number
starting index.
- end: number
ending index.
Returns Float32Array
a subarray of the original array.
- start: number
A class acting as a dynamic float32array used in the performance viewer