1,BufferAttribute
构造函数
BufferAttribute(array,itemSize,normalized)
属性
name
array
itemSize
count array未定义时,返回0,否则返回数组长度除项目长度
normalized
dynamic//默认false
updateRange//默认{offset:0,count:-1}
version//默认0
方法
set(value)
isBufferAttribute
onUploadCallback()
setArray(array)
setDynamic(value)
copy(source)//复制一份BufferAttribute对象
copyAt(index1,attribute,index2)//将从attribute中拷贝当前对象长度的数据
copyArray(array)
copyColorsArray(colors)//将colors颜色拷贝到当前对象的array中
copyVector2sArray(vectors)
copyVector3sArray(vectors)
copyVector4sArray(vectors)
set(value,offset)
getX