Function createGeometryFromArrays
- createGeometryFromArrays(
vertices: Float32Array<ArrayBufferLike>,
indices: Uint32Array<ArrayBufferLike>,
vertexColors?: Float32Array<ArrayBufferLike>,
colorSize?: number,
): THREE.BufferGeometry Parameters
- vertices: Float32Array<ArrayBufferLike>
- indices: Uint32Array<ArrayBufferLike>
- vertexColors: Float32Array<ArrayBufferLike> = undefined
- colorSize: number = 3
Returns THREE.BufferGeometry
a BufferGeometry
Creates a BufferGeometry from given geometry data arrays