Three.js源码学习(四)Core/DirectGeomet
2018-06-19 本文已影响0人
yuriy0_0
属性
vertices=[]
normals=[]
colors=[]
uvs=[]
uvs2=[]
groups=[]
morphTargets={}
skinWeights=[]
skinIndices=[]
boudingBox=null
boudingSphere=null
verticesNeedUpdate=false
normalsNeedUpdate=false
colorsNeedUpdate=false
uvsNeedupdate=false
groupsNeedUpdate=false
method方法
computegroups(geomtry)
计算group.count及赋值materialIndex
fromGeometry(geometry)
从geometry计算DirectGeometry