Skip to content

Function: addWireframeToMesh() ​

ts
function addWireframeToMesh(
   geo, 
   mesh, 
   color?, 
   w?
): () => void;

Defined in: packages/minerender/src/util/model.ts:188

Adds edge and axis helpers to a mesh and returns a function that disposes their resources.

Parameters ​

ParameterTypeDefault value
geoBufferGeometryundefined
meshMeshundefined
colornumber0xffffff
wnumber2

Returns ​

() => void