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

# PatchDeform : Modifier

    PatchDeform - superclass: modifier; super-superclass:MAXWrapper - classID: #(1697653668, 1924755289)

Value > MAXWrapper > Modifier > PatchDeform

| Modifier Classes - Quick Navigation

Constructor

    PatchDeform ...

Properties

    <PatchDeform>.U_Percent Float default: 50.0 -- animatable, percentage

Moves the object along the U (horizontal) axis of the gizmo patch, based on a percentage of the U distance. This defaults to a setting of 50 percent, which places the object at the center of the gizmo patch. A setting of 0 percent places the object at the left edge of the gizmo patch, as seen from the viewport where the patch was created.

    <PatchDeform>.U_Stretch Float default: 1.0 -- animatable

Scales the object along the U (horizontal) axis of the gizmo patch.

    <PatchDeform>.V_Percent Float default: 50.0 -- animatable, percentage

Moves the object along the V (vertical) axis of the gizmo patch, based on a percentage of the V distance. A setting of 0 percent places the object at the bottom of the gizmo patch.

    <PatchDeform>.V_Stretch Float default: 1.0 -- animatable

Scales the object along the V (vertical) axis of the gizmo patch.

    <PatchDeform>.rotation Float default: 0.0 -- animatable, angle

Rotates the modified object with respect to the gizmo patch.

    <PatchDeform>.Plane_to_Patch_Deform Integer default: 0

Choose a two-axis plane of the object to make parallel with the XY plane of the gizmo patch:

0- XY

1- YZ

2- ZX

    <PatchDeform>.Flip_deformation_axis Integer default: 0

When on, reverses the gizmo direction.

0- Don’t flip

1- Flip

    <PatchDeform>.gizmo SubAnim

At this sub-object level, you can transform and animate the gizmo like any other object, altering the effect of the modifier. The PatchDeform gizmo is a representation of the deforming patch object, so transforming it determines which part of the patch affects the modified object.

    <PatchDeform.gizmo>.position Point3 default: [0,0,0] -- animatable

The position of the patchdeform gizmo.

    <PatchDeform.gizmo>.rotation Quat default: (quat 0 0 0 1) -- animatable

The rotation of the patchdeform gizmo.

    <PatchDeform.gizmo>.scale Point3 default: [1,1,1] -- animatable

The scale of the patchdeform gizmo.

Note

There is no way to specify the patch to deform to using MAXScript.

#### See Also

- Modifier Sub-Object Transform Properties

- Modifier Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods