MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > SpacewarpObject : Node > Spacewarp - Modifier-Based >

# SpaceStretch : SpacewarpObject

    SpaceStretch - superclass: SpacewarpObject; super-superclass:node - classID: #(65712, -1728155230)

Value > MAXWrapper > Node > SpacewarpObject > Modifier-Based > SpaceStretch

Constructor:

    spaceStretch...

Properties:

    <SpaceStretch>.length Float default: 0.0 -- animatable

The length of the warp object.

    <SpaceStretch>.width Float default: 0.0 -- animatable

The width of the warp object.

    <SpaceStretch>.height Float default: 0.0 -- animatable

The height of the warp object.

    <SpaceStretch>.decay Float default: 0.0 -- animatable

When is set to 0, there is no decay, and the space warp affects its bound object regardless of its distance from the object. When you increase the decay, the effect on the bound object falls off exponentially.

    <SpaceStretch>.Stretch Float default: 0.0 -- animatable

The base scale factor for all three axes. The scale factor derived from the Stretch value varies according to the sign of the value:

Positive stretch values define a scale factor equal to Stretch+1. For example, a stretch value of 1.5 yields a scale factor of 1.5+1=2.5, or 250 percent.

Negative stretch values define a scale factor equal to -1/(Stretch-1). For example, a stretch value of -1.5 yields a scale factor of -1/(-1.5-1)=0.4, or 40 percent.

    <SpaceStretch>.Amplify Float default: 0.0 -- animatable

The scale factor applied to the minor axes. Amplify generates a multiplier using the same technique as stretch. The multiplier is then applied to the Stretch value before the scale factor for the minor axes is calculated.

    <SpaceStretch>.from Float default: 0.0 -- animatable

The boundary of the stretch effect along the negative Stretch Axis. The Lower Limit can be 0 or any negative number.

    <SpaceStretch>.to Float default: 0.0 -- animatable

The boundary of the stretch effect along the positive Stretch Axis. The Upper Limit can be 0 or any positive number.

Associated Methods

    bindSpaceWarp <node> <spaceStretch_node>

Associated Binding Modifier

    SimpleOSMToWSMMod

This modifier is automatically created by the bindSpaceWarp() method, and is not otherwise creatable by MAXScript. There are no properties associated with this binding modifier.

#### See Also

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods