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

# POmniFlect : SpacewarpObject

    POmniFlect - superclass: SpacewarpObject; super-superclass:node - classID: #(1318347405, 1313044340)

Value > MAXWrapper > Node > SpacewarpObject > Deflectors > POmniFlect

Constructor

    POmniFlect...

Properties

    <POmniFlect>.deceleration Float default: 1.0 -- animatable

Sets the deceleration of particles.

    <POmniFlect>.'decel var' Float default: 0.0 -- animatable; percentage

Affects the variation in deceleration of particles.

    <POmniFlect>.friction Float default: 0.0 -- animatable; percentage

When set to 0.0 (the default), the surface of the deflector is treated as frictionless, and there's no change in the particle behavior.

As the friction value increases, particles begin to rebound at incorrect angles and with greater speed.

    <POmniFlect>.'time on'  Integer default: 0 -- animatable; alias: time_on

The frame at which the deflection begins.

    <POmniFlect>.'time off' Integer default: 16000 -- animatable; alias: time_off

The frame at which the deflection ends.

    <POmniFlect>.affects Float default: 10000.0 -- animatable; alias: reflects

The percentage of particles to be reflected by the POmniFlect.

    <POmniFlect>.bounce Float default: 1.0 -- animatable

This multiplier specifies how much of the initial speed of the particle is maintained after collision with the POmniFlect.

    <POmniFlect>.bouncevar Float default: 0.0 -- animatable; alias: bounce_variation

The variation of Bounce applied to the range of particles.

    <POmniFlect>.chaos Float default: 0.0 -- animatable

Applies a random variation to the bounce angle.

When set to 0.0 (no chaos), all particles bounce off the POmniFlect surface perfectly (like banking pool balls).

A non-zero setting causes the deflected particles to scatter.

    <POmniFlect>.Refracts Float default: 100.0 -- animatable

The percentage of particlesnot already reflectedthat will be refracted by the POmniFlect.

    <POmniFlect>.'pass velocity' Float default: 1.0 -- animatable; alias: pass_velocity

Sets how much of a particle's initial speed is maintained after passing through the POmniFlect.

The default setting of 1 retains the initial speed is retained, so there's no change.

A setting of 0.5 reduces the speed by half.

    <POmniFlect>.'passvel var' Float default: 0.0 -- animatable; percentage; alias: Pass_Velocity_Variation

Variation of Pass Velocity applied to the range of particles.

    <POmniFlect>.refraction Float default: 50.0 -- animatable; percentage; alias: distortion

Controls the angle of refraction. A value of 0 means there's no refraction.

A value of 100% sets the angle of the particles to be parallel with the POmniFlect surface.

A value of -100% sets the angle perpendicular to the surface.

The Distortion effect is reversed when particles strike the POmniFlect from the back side.

    <POmniFlect>.'refraction var' Float default: 0.0 -- animatable; percentage; alias: distortion_variation

Range of variation of the Distortion effect.

    <POmniFlect>.Diffusion Float default: 0.0 -- animatable, percentage

Applies a diffusion effect to the refraction by randomly modifying each particle's Distortion angle by the Diffusion angle.

This effectively scatters the particles into a hollow cone.

    <POmniFlect>.'diffusion var' Float default: 0.0 -- animatable; percentage; alias: diffusion_variation

Range of variation of the Diffusion value.

    <POmniFlect>.inheritVelocity Float default: 1.0 -- animatable; alias: velocity_inheritance

Determines how much of a moving POmniFlect's speed is applied to reflected or refracted particles.

    <POmniFlect>.spawn Float default: 100.0 -- animatable; percentage; alias: spawn_percentage

The percentage of particles that can use spawn effects.

    <POmniFlect>.Pass_Velocity Float default: 1.0 -- animatable

How much of the particle's initial speed is maintained after passing through the POmniFlect.

    <POmniFlect>.Pass_Velocity_Variation Float default: 0.0 -- animatable, percentage

The variation of the Pass Velocity setting applied to the range of particles.

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

The width of the POmniFlect icon. This is for display purposes only and does not influence the deflector effect.

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

The height of the POmniFlect icon. This is for display purposes only and does not influence the deflector effect.

Note getPropnames() and showProperties() show two sets of parameters called Pass_Velocity and Pass_Velocity_Variation . The first set is for Refraction, the second for Spawn Effects Only groups. Due to this sharing of property names, you cannot access the Spawn Effects Only Pass_Velocity and Pass_Velocity_Variation using their property names. You can access the value assigned to these parameters, and their controller if assigned, as subAnims 17 and 18 of the base object.

Associated Methods

    bindSpaceWarp <particlesys_node> <POmniFlect_node>

Associated Binding Modifier

    POmniFlectMod

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