MAXScript Language Reference > 3ds Max Objects > Modifier : MAXWrapper and SpacewarpModifier : MAXWrapper > Modifier and SpacewarpModifier Types > Modifiers > Animation Modifiers >

# Skin_Wrap : modifier

    Skin_Wrap - superclass: modifier; super-superclass:MAXWrapper - 17:0 - classID: #(582466825, 1731904975)

Value > MAXWrapper > Modifier > Skin_Wrap

| Modifier Classes - Quick Navigation

The Skin_Wrap modifier lets you transfer deformations from one mesh to another, typically from low-resolution proxy mesh to a high-resolution final mesh.

Constructor

    Skin_Wrap ... MeshDeformPW ...

Properties

### Parameters Rollout

    <Skin_Wrap>.meshList ArrayParameter default: #() -- node array

Get/Set the mesh list nodes array. Corresponds to the node list in the Parameters rollout.

    <Skin_Wrap>.mesh UndefinedClassdefault: undefined -- node

    <Skin_Wrap>.engine Integer default: 1 -- integer

Get/Set the Deformation Engine drop-down list selection. Possible values are:

0 - Face Deformation

1 - Vertex Deformation (default)

    <Skin_Wrap>.falloff Float default: 1.0 -- float

Get/Set the Falloff value.

    <Skin_Wrap>.Distance Float default: 1.2 -- float

Get/Set the "Distance Infl." value.

    <Skin_Wrap>.faceLimit Integer default: 3 -- integer; Face_Limit

Get/Set the "Face Limit" value.

    <Skin_Wrap>.blend BooleanClass default: false-- boolean; Blend_To_Base_Mesh

Get/Set the state of the "Blend To Base Mesh" checkbox.

    <Skin_Wrap>.blendDistance Float default:5.0 -- float; Blend_Distance

Get/Set the Blend Distance value.

    <Skin_Wrap>.threshold Float default: 5.0 -- float

Get/Set the Threshold value.

    <Skin_Wrap>.weightAllVerts BooleanClass default: false -- boolean; Weight_All_Verts

Get/Set the state of the "Weight All Points" checkbox.

### Advanced Parameters Rollout

    <Skin_Wrap>.showMirrorData BooleanClass default: false-- boolean; Show_Mirror_Data

Get/Set the state of the "Show Mirror Data" checkbox.

    <Skin_Wrap>.mirrorPlane Integer default: 0 -- integer; Mirror_Plane

Get/Set the selection of the " Mirror Plane" radio buttons. Possible values are:

0 - X

1 - Y

2 - Z

    <Skin_Wrap>.mirrorOffset Float default:0.0 -- float; Mirror_Offset

Get/Set the "Mirror Offset" value.

    <Skin_Wrap>.mirrorThreshold Float default: 0.5 -- float; Mirror_Threshold

Get/Set the "Mirror Threshold" value.

### Display Parameters Rollout

    <Skin_Wrap>.showLoops BooleanClass default: true -- boolean; Show_Loops

Get/Set the state of the "Display Loops" checkbox.

    <Skin_Wrap>.showAxis BooleanClass default: true -- boolean; Show_Axis

Get/Set the state of the "Display Axis" checkbox.

    <Skin_Wrap>.showFaceLimit BooleanClass default: true-- boolean; Show_Face_Limit

Get/Set the state of the "Display Face Limit" checkbox.

    <Skin_Wrap>.showUnassignedVerts BooleanClass default: false --boolean; Show_Unassigned_Verts

Get/Set the state of the "Display Unassigned Points" checkbox.

    <Skin_Wrap>.showVerts BooleanClass default:true -- boolean; Show_Verts

Get/Set the state of the "Display Control Verts" checkbox.

Skin_Wrap interfaces:

    Interface: meshDeformOps

Methods:

### Parameters Rollout

    <void>reset()

Resest both the Strength and Scale values of the selected control vertices. Corresponds to pressing the "Reset" button.

    <void>setLocalStr <float>str

Sets the local strengthof the selected control verticesto the specified float value. Affects the value represented by the Local Str. spinner in the Parameters rollout.

    <void>setLocalScale <index>axis <float>scale

Sets the local scaleof the selected control verticesalong the indexed axis to the specified float value.

Possible axis values are

1 - X

2 - Y

3 - Z

Affects the values represented by the Local X, Local Y and Local Z spinners in the Parameters rollout.

    <void>ConvertToSkin <boolean>silent

Corresponds to pressing the "Convert To Skin" button.

### Advanced Parameters Rollout

    <void>mirrorSelectedControlPoints()

Mirrors the selected control vertices. Corresponds to pressing the "Mirror Selected" button.

    <void>bakeControlPoint()

Bakes the control vertices. Corresponds to pressing the "Bake Control Verts" button.

    <void>retrieveControlPoint()

### Control Vertex Access Methods

    <bitArray>getSelectedVertices <index>wrapNodeIndex

Returns a bitarray containing the selected vertices affected by the indexed wrap node.

    <void>setSelectVertices <index>wrapNodeIndex <bitArray>sel <boolean>update

Sets the vertex selection for the indexed wrap node to the given bitarray. If the update argument is false, no update will be performed.

    <integer>getNumberOfControlPoints <index>wrapNodeIndex

Returns the number of control vertices of the indexed wrap node.

    <point3>getControlPointScale <index>wrapNodeIndex <index>index

Returns the control vertex scale of the indexed vertex of the indexed wrap node as a point3 value.

    <void>setControlPointScale <index>wrapNodeIndex <index>index <point3>scale

Sets the control vertex scale of the indexed vertex of the indexed wrap node to the given point3 value.

    <float>getControlPointStr <index>wrapNodeIndex <index>index

Returns the control vertex strength of the indexed vertex of the indexed wrap node as a float value.

    <void>setControlPointStr <index>wrapNodeIndex <index>index <float>str

Sets the control vertex strength of the indexed vertex of the indexed wrap node to the given float value.

    <matrix3>getControlPointInitialTM <index>wrapNodeIndex <index>index

Returns the initial transformation matrix of the indexed control vertex in the indexed wrap node as a matrix3 value.

    <matrix3>getControlPointCurrentTM <index>wrapNodeIndex <index>index

Returns the current transformation matrix of the indexed control vertex in the indexed wrap node as a matrix3 value.

    <float>getControlPointDist <index>wrapNodeIndex <index>index

Returns the indexed control vertex' distance in the indexed wrap node as a float value.

    <integer>getControlPointXVert <index>wrapNodeIndex <index>index

Returns the transformed vertex index of the indexed control vertex in the indexed wrap node as an integer value.

    <void>OutputVertexData <node>node <integer>vertexIndex

#### See Also

- Modifier Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods