Go to: Related nodes. Attributes.
The shrinkwrap deformer node projects a geometry's vertices onto another surface (the 'target'), using either raycasting or by finding the closest point on the target surface. Another object can optionally be specified (the 'inner' object) to help define the direction of the rays cast. There are five main projection modes: "Toward Inner Object" - the ray from a vertex is cast towards the corresponding vertex on the inner object. (If no inner object is connected, falls back to "Toward Center".) "Toward Center" - rays are cast towards either the center of the target object's bounding box, or the world origin, depending on the boundingBoxCenter attribute. "Parallel To Axes" - rays are cast along the x/y/z axis of a space defined by the axisReference attribute. "Vertex Normals" - the ray from a vertex is cast along the (inverted) vertex normal. "Closest" - no raycasting is done; instead the closest point (in worldspace) on the inner object (if present) or target object is used.
At present, only poly meshes are supported as target and inner objects.
Node name | Parents | Classification | MFn type | Compatible function sets |
---|---|---|---|---|
shrinkWrap | weightGeometryFilter | drawdb/geometry/deformer/shrinkwrap | kShrinkWrapFilter | kBase kNamedObject kDependencyNode kGeometryFilt kShrinkWrapFilter |
lattice, cluster, jointCluster, nonLinear, blendShape, skinCluster, boneLattice, wire, ffd, jointFfd, sculpt, jointLattice, flexorShape, deformFunc, deformSquash, deformTwist, deformBend, deformWave, deformFlare, deformSine, baseLattice, clusterHandle, wrap
alongX, alongY, alongZ, axisReference, bidirectional, boundaryRule, boundingBoxCenter, cachedInflatedTarget, cachedSmoothTarget, closestIfNoIntersection, continuity, falloff, falloffIterations, innerGeom, innerGroupId, inputEnvelope, keepBorder, keepHardEdge, keepMapBorders, offset, projection, propagateEdgeHardness, reverse, shapePreservationEnable, shapePreservationIterations, shapePreservationMethod, shapePreservationReprojection, shapePreservationSteps, smoothUVs, targetGeom, targetInflation, targetSmoothLevel
Long name (short name) | Type | Default | Flags | ||
---|---|---|---|---|---|
alongX
(ax )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
alongY
(ay )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
alongZ
(az )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
axisReference
(ar )
| enum | 0 | ![]() ![]() ![]() ![]() ![]() | ||
bidirectional
(bi )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
boundaryRule
(bnr )
| enum | 1 | ![]() ![]() ![]() ![]() | ||
boundingBoxCenter
(bbc )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
cachedInflatedTarget
(cit )
| mesh | NULL | ![]() ![]() ![]() ![]() | ||
cachedSmoothTarget
(cst )
| mesh | NULL | ![]() ![]() ![]() ![]() | ||
closestIfNoIntersection
(cni )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
continuity
(co )
| float | 1 | ![]() ![]() ![]() ![]() | ||
falloff
(fo )
| distance (double) | 0.0cm | ![]() ![]() ![]() ![]() ![]() | ||
falloffIterations
(fi )
| short | 1 | ![]() ![]() ![]() ![]() ![]() | ||
innerGeom
(in )
| geometry | NULL | ![]() ![]() ![]() ![]() | ||
innerGroupId
(igi )
| integer | 0 | ![]() ![]() ![]() ![]() | ||
inputEnvelope
(ien )
| float | 1 | ![]() ![]() ![]() ![]() ![]() ![]() | ||
keepBorder
(kb )
| bool | false | ![]() ![]() ![]() ![]() | ||
keepHardEdge
(khe )
| bool | false | ![]() ![]() ![]() ![]() | ||
keepMapBorders
(kmb )
| enum | 1 | ![]() ![]() ![]() ![]() | ||
offset
(o )
| distance (double) | 0.0cm | ![]() ![]() ![]() ![]() ![]() | ||
projection
(prj )
| enum | 0 | ![]() ![]() ![]() ![]() ![]() | ||
propagateEdgeHardness
(peh )
| bool | false | ![]() ![]() ![]() ![]() | ||
reverse
(rev )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
shapePreservationEnable
(spe )
| bool | false | ![]() ![]() ![]() ![]() ![]() | ||
shapePreservationIterations
(spi )
| short | 1 | ![]() ![]() ![]() ![]() | ||
shapePreservationMethod
(spm )
| enum | 0 | ![]() ![]() ![]() ![]() | ||
shapePreservationReprojection
(spr )
| enum | 1 | ![]() ![]() ![]() ![]() ![]() | ||
shapePreservationSteps
(sps )
| short | 1 | ![]() ![]() ![]() ![]() ![]() | ||
smoothUVs
(suv )
| bool | true | ![]() ![]() ![]() ![]() | ||
targetGeom
(tgt )
| geometry | NULL | ![]() ![]() ![]() ![]() | ||
targetInflation
(ti )
| distance (double) | 0.0cm | ![]() ![]() ![]() ![]() ![]() | ||
targetSmoothLevel
(tsl )
| short | 0 | ![]() ![]() ![]() ![]() ![]() | ||