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

# FFD_4x4x4 : Modifier

    FFD_4x4x4 - superclass: modifier; super-superclass:MAXWrapper - classID: #(556946838, 751897560)

Value > MAXWrapper > Modifier > FFD_4x4x4

| Modifier Classes - Quick Navigation

Constructor

    ffd_4x4x4 ... FFD4x4x4 ...

Properties

    <FFD_4x4x4>.dispLattice Boolean default: true -- alias: Lattice

Draws lines connecting the control points to make a grid.

    <FFD_4x4x4>.dispSource Boolean default: false&emdash;alias: Source_Volume

Displays the control points and lattice in their unmodified state.

    <FFD_4x4x4>.deformType Integer default: 0

Deform type:

0-Only In Volume (Deforms vertices that lie inside the source volume.)

1-All Vertices (Deforms all vertices, regardless of whether they lie inside or outside the source volume.)

    <FFD_4x4x4>.inPoints Boolean default: true -- alias: Inside_Points

Only control points inside the object are affected by Conform to Shape.

    <FFD_4x4x4>.outPoints Boolean default: true -- alias: Outside_Points

Only control points outside the object are affected by Conform to Shape.

    <FFD_4x4x4>.offset Float default: 0.05 -- animatable

The distance by which control points affected by Conform to Shape are offset from the object surface.

    <FFD_4x4x4>.lattice_transform SubAnim
    <FFD_4x4x4.lattice_transform>.position Point3 default: [0,0,0] -- animatable
    <FFD_4x4x4.lattice_transform>.rotation Quat default: (quat 0 0 0 1) -- animatable
    <FFD_4x4x4.lattice_transform>.scale Point3 default: [1,1,1] -- animatable

Note

The Falloff, Tension, and Continuity parameters are not accessible by MAXScript.

Methods

    conformToShape <FFD_4x4x4>

Conforms the control points of the FFD to the node the FFD is applied to. If an instance of the FFD modifier has been applied to more than one object, no action is performed.

    resetLattice <FFDBox>

Resets the control points of the FFD to their default positions.

    animateVertex <FFD_4x4x4> {<integer_index> | <integer_index_array> | #all}

Applies controllers to the specified control points of the FFD modifier.

By assigning controllers to the control points, the control points are added to the Master subAnim and appear as animatables in the Track View, allowing further scripting of the control points.

EXAMPLE
    animateVertex $box01.modifier[1] #all

The control points to be animated are specified by index number or with the keyword #all to animate all control points.

See also Class and Object Inspector Functions and Scripting Vertex and Control Point Animation for details on accessing the control points in an FFD and Modifier Sub-Object Transform Properties for details on the coordinate system used for FFD control points.

    animateAll <FFD_4x4x4>

Applies controllers to all control points of the FFD modifier.

#### 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

- Class and Object Inspector Functions

- Scripting Vertex and Control Point Animation

- Modifier Sub-Object Transform Properties