mP_Switch : Helper

mP_Switch - superclass: helper; super-superclass:node - 30:0 - classID: #(1935830276, 515064320)

Value > MAXWrapper > Node > Helper > mP_Switch

 

   

Particle Flow - Quick Navigation

Description:

The mP_Switch operator controls adjustments in a physics simulation.

Available in 3ds Max 2014 and higher.

   

Constructors:

mP_Switch...
PhysXSwitch... 

   

Properties:

Match Position or Speed group of controls

<mP_Switch>.Match_Position     BooleanClass    default: false   --  boolean

Get/set the state of the "Position" checkbox.

   

<mP_Switch>.Match_Speed     BooleanClass    default: false   --  boolean

Get/set the state of the "Speed" checkbox.

   

<mP_Switch>.Position_Speed_Match_Type     Integer    default: 1   --  radiobtnIndex

Get/set the state of the "Match Position or Speed" radio buttons.

Possible values are:

0 - In Interval

1 - Event (default)

2 - Animatable

   

<mP_Switch>.Position_Speed_Start     Integer    default: 0   --  integer

Get/set the value of the Position/Speed Start spinner.

Used when .Position_Speed_Match_Type is set to 0 - In Interval.

<mP_Switch>.Position_Speed_Stop     Integer    default: 4800   --  integer

Get/set the value of the Position/Speed Stop spinner.

Used when .Position_Speed_Match_Type is set to 0 - In Interval.

   

<mP_Switch>.Position_Speed_Active     BooleanClass    default: false   --  animatable; boolean

Get/set the state of the Match Position or Speed > Animatable > "Active" checkbutton.

Used when .Position_Speed_Match_Type is set to 2- Animatable.

   

<mP_Switch>.Position_Speed_Sync_Type     Integer    default: 0   --  integer

Get/set the selection of the "Sync By" drop-down list.

Possible values are:

0 - Absolute Time (default)

1 - Event Duration

2 - Particle Age

   

<mP_Switch>.Use_Speed_Limit     BooleanClass    default: false   --  boolean

Get/set the state of the "Speed Limit" checkbox.

   

<mP_Switch>.Speed_Limit     Float    default: 1000.0   --  animatable; worldUnits

Get/set the value of the "Speed Limit" spinner.

   

Match Rotation or Spin group of controls

<mP_Switch>.Match_Rotation     BooleanClass    default: false   --  boolean

Get/set the state of the "Rotation" checkbox.

   

<mP_Switch>.Match_Spin     BooleanClass    default: false   --  boolean

Get/set the state of the "Spin" checkbox.

   

<mP_Switch>.Rotation_Spin_Match_Type     Integer    default: 1   --  radiobtnIndex

Get/set the state of the "Match Rotation or Spin" radio buttons.

Possible values are:

0 - In Interval

1 - Event (default)

2 - Animatable

   

<mP_Switch>.Rotation_Spin_Start     Integer    default: 0   --  integer

Get/set the value of the Rotation/Spin Start spinner.

Used when .Rotation_Spin_Match_Type is set to 0 - In Interval.

<mP_Switch>.Rotation_Spin_Stop     Integer    default: 4800   --  integer

Get/set the value of the Rotation/Spin Stop spinner.

Used when .Rotation_Spin_Match_Type is set to 0 - In Interval.

   

<mP_Switch>.Rotation_Spin_Active     BooleanClass    default: false   --  animatable; boolean

Get/set the state of the Match Rotation or Spin > Animatable > "Active" checkbutton.

Used when .Rotation_Spin_Match_Type is set to 2- Animatable.

   

<mP_Switch>.Rotation_Spin_Sync_Type     Integer    default: 0   --  integer

Get/set the selection of the Match Rotation or Spin > "Sync By" drop-down list.

Possible values are:

0 - Absolute Time (default)

1 - Event Duration

2 - Particle Age

   

<mP_Switch>.Use_Spin_Limit     BooleanClass    default: false   --  boolean

Get/set the state of the "Spin Limit" checkbox.

   

<mP_Switch>.Spin_Limit     Float    default: 360.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)

Get/set the value of the "Spin Limit" spinner.

   

Apply Anti-Gravity controls

<mP_Switch>.Apply_Anti_Gravity     BooleanClass    default: false   --  boolean

Get/set the state of the "Apply Anti-Gravity" checkbox.

   

<mP_Switch>.AntiGravity_Type     Integer    default: 1   --  radiobtnIndex

Get/set the state of the Anti-Gravity Type radio buttons.

Possible values are:

0 - In Interval

1 - Event (default)

2 - Animatable

   

<mP_Switch>.AntiGravity_Start     Integer    default: 0   --  integer

Get/set the value of the Anti-Gravity Start spinner.

Used when .AntiGravity_Type is set to 0 - In Interval.

<mP_Switch>.AntiGravity_Stop     Integer    default: 4800   --  integer

Get/set the value of the Anti-Gravity Stop spinner.

Used when .AntiGravity_Type is set to 0 - In Interval.

   

<mP_Switch>.AntiGravity_Active     BooleanClass    default: false   --  animatable; boolean

Get/set the state of the Apply Anti-Gravity > Animatable > "Active" checkbutton.

Used when .AntiGravity_Type is set to 2- Animatable.

   

<mP_Switch>.Anti_Gravity_Sync_Type     Integer    default: 0   --  integer

Get/set the selection of the Apply Anti-Gravity > "Sync By" drop-down list.

Possible values are:

0 - Absolute Time (default)

1 - Event Duration

2 - Particle Age

   

Turn Off Simulation controls

<mP_Switch>.Turn_Off_Simulation     BooleanClass    default: false   --  boolean

Get/set the state of the "Turn Off Simulation" checkbox.

   

<mP_Switch>.Turn_Off_Simulation_Type     Integer    default: 1   --  radiobtnIndex

Get/set the state of the Turn Off Simulation Type radio buttons.

Possible values are:

0 - In Interval

1 - Event (default)

2 - Animatable

   

<mP_Switch>.Turn_Off_Start     Integer    default: 0   --  integer

Get/set the value of the Turn Off Simulation Start spinner.

Used when .Turn_Off_Simulation_Type is set to 0 - In Interval.

<mP_Switch>.Turn_Off_Stop     Integer    default: 4800   --  integer

Get/set the value of the Turn Off Simulation Stop spinner.

Used when .Turn_Off_Simulation_Type is set to 0 - In Interval.

   

<mP_Switch>.Turn_Off_Active     BooleanClass    default: false   --  animatable; boolean

Get/set the state of the Turn Off Simulation > Animatable > "Active" checkbutton.

Used when .Turn_Off_Simulation_Type is set to 2- Animatable.

   

<mP_Switch>.Turn_Off_Sync_Type     Integer    default: 0   --  integer

Get/set the selection of the Turn Off Simulation > "Sync By" drop-down list.

Possible values are:

0 - Absolute Time (default)

1 - Event Duration

2 - Particle Age

   

mP_Switch interfaces:

The following common Particle Flow Interfaces are exposed by the mP_Switch Class:

Interface: action

Interface: operator

Interface: PViewItem