Creates the deformer and prepares for deformation
The reference cage
The destination cage
The mesh to deform
Indices in the reference cage to ignore
Amount of patches spread around the mesh, each one solves a linear equation
Amount of close vertices in each patch
Amount of far away vertices in each patch
OptionalnearestOptionalneighborOptionalweightssolveAsync() needs to be called before this Deforms the position of something inside the mesh
The index of the vert to deform, if it is outside the range of vertices it will be a bone instead. For example vertices range from 1 - 100, and bones range from 101 - 110. Then index 101 will represent the first bone
New position after deformation
solveAsync() needs to be called before this Deforms vertices and bones in mesh (if this.affectBones = true)
Solves the linear equations asynchronously, required before deformation
void
The deformer used for layered clothing