Function EnumerateFloatValues
-
EnumerateFloatValues(
data: DataArray,
byteOffset: number,
byteStride: number,
componentCount: number,
componentType: number,
count: number,
normalized: boolean,
callback: (values: number[], index: number) => void,
): voidParameters
- data: DataArray
the data to enumerate
- byteOffset: number
the byte offset of the data
- byteStride: number
the byte stride of the data
- componentCount: number
the number of components per element
- componentType: number
the type of the component
- count: number
the number of values to enumerate
- normalized: boolean
whether the data is normalized
- callback: (values: number[], index: number) => void
the callback function called for each group of component values
Returns void
- data: DataArray
Enumerates each value of the data array and calls the given callback.