Skip to content

Function: createFillPrimitive() ​

ts
function createFillPrimitive(context, data, mesh?): FillPrimitive;

Experimental

Create a FillPrimitive (optionally drawing into mesh, see its constructor).

Parameters ​

ParameterType
contextPrimitiveContext
dataFillData
mesh?Mesh<BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>, Material<MaterialEventMap> | Material<MaterialEventMap>[], Object3DEventMap>

Returns ​

FillPrimitive

Released under the MIT License.