MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > SpacewarpObject : Node > Spacewarp - Geometric/Deformable >

# SpaceDisplace : SpacewarpObject

    Spacedisplace - superclass: SpacewarpObject; super-superclass:node - classID: #(938560, 0)

Value > MAXWrapper > Node > SpacewarpObject > Geometric/Deformable > SpaceDisplace

Constructor

    spaceDisplace...

Properties

    <Spacedisplace>.strength Float default: 0.0 -- animatable

When set to 0.0, the Displace warp has no effect.

Values greater than 0.0 displace object geometry or particles away from the position of the Displace space warp object.

Values less than 0.0 displace geometry toward the warp.

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

By default, the Displace warp has the same strength throughout world space.

Increasing Decay causes displacement strength to diminish as distance increases from the position of the Displace warp object.

    <Spacedisplace>.lumCenterEnable Boolean default: false

Turn on/off use of the luminance center.

    <Spacedisplace>.lumCenter Float default: 0.5 -- animatable

By default, the Displace space warp centers the luminance by using medium (50%) gray as the zero displacement value.

Gray values greater than 128 displace in the outward direction (away from the Displace warp object) and gray values less than 128 displace in the inward direction (toward the Displace warp object).

    <Spacedisplace>.bitmap Bitmap default: undefined

Bitmap assigned to use for displacement.

    <Spacedisplace>.map TextureMap default: undefined

Texture map assigned to use for displacement.

    <Spacedisplace>.blur Float default: 0.0 -- animatable

Increase this value to blur or soften the effect of the bitmapped displacement.

    <Spacedisplace>.maptype Integer default: 0

The map projection type:

0-Planar (Projects the map from a single plane.)

1-Cylindrical (Projects the map as if it were wrapped around the cylinder.)

2-Spherical (Projects the map from a sphere, with singularities at the top and bottom of the sphere, where the bitmap edges meet at the sphere's poles.)

3-Shrink Wrap (Truncates the corners of the map and joins them all at a single pole, creating one singularity.)

    <Spacedisplace>.length Float default: 1.0 -- animatable

The length of the bounding box on the space warp gizmo.

    <Spacedisplace>.width Float default: 1.0 -- animatable

The width of the bounding box on the space warp gizmo.

    <Spacedisplace>.height Float default: 1.0 -- animatable

The height of the bounding box on the space warp gizmo.

    <Spacedisplace>.U_Flip Boolean default: false

When on, reverses the orientation of the map along the U-axis.

    <Spacedisplace>.U_Tile Float default: 1.0 -- animatable

The number of times the map repeats along the U-axis.

    <Spacedisplace>.V_Flip Boolean default: false

When on, reverses the orientation of the map along the V-axis.

    <Spacedisplace>.V_Tile Float default: 1.0 -- animatable

The number of times the map repeats along the U-axis.

    <Spacedisplace>.W_Flip Boolean default: false

When on, reverses the orientation of the map along the W-axis.

    <Spacedisplace>.W_Tile Float default: 1.0 -- animatable

The number of times the map repeats along the U-axis.

The following properties are defined for SpaceDisplace, but are not used:

    <Spacedisplace>.axis Integer default: 0
    <Spacedisplace>.cap Boolean default: false
    <Spacedisplace>.useMap Boolean default: false
    <Spacedisplace>.applyMap Boolean default: false

Associated Methods

    bindSpaceWarp <node> <spaceDisplace_node>

Associated Binding Modifier

    DisplaceBinding

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.

NoteWhen a TextureMap is assigned to map , a Displacement_Map subAnim is added to the parameters. The parameters of the subAnim correspond to the TextureMap properties.

#### See Also

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods