Skip to main content

Function: getPlaneBuffer

getPlaneBuffer(position, normal, uv, index, width?, height?, depth?, widthSegments?, heightSegments?, u?, v?, w?, uDir?, vDir?, i?, ii?): void

获取平面几何体数据

Parameters

NameTypeDefault value
positionFloat32Arrayundefined
normalFloat32Arrayundefined
uvFloat32Arrayundefined
indexUint32Array | Uint16Arrayundefined
widthnumber1
heightnumber1
depthnumber0
widthSegmentsnumber1
heightSegmentsnumber1
unumber0
vnumber1
wnumber2
uDirnumber1
vDirnumber-1
inumber0
iinumber0

Returns

void

Defined in

src/geometries/Plane.ts:51