mP_Glue - superclass: helper; super-superclass:node - 86:0 - classID: #(1935830279, 515064320)
Description:
The mP_Glue test binds particles to each other or to deflectors by rigid or flexible breakable connection.
Available in 3ds Max 2014 and higher.
Constructors:
mP_Glue...
PhysXGlue...
Properties:
<mP_Glue>.Type Integer default: 0 -- integer
Get/set the selection of the "Type" drop-down list.
Possible values are:
0 - Simplified (default)
1 - Rigid
2 - Distance
<mP_Glue>.Timing_Type Integer default: 0 -- integer
Get/set the selection of the "Timing" drop-down list.
Possible values are:
0 - On Every Entry (default)
1 - Continuous
<mP_Glue>.Bind_Distance Float default: 5.0 -- animatable; worldUnits
Get/set the value of the "Bind Distance" spinner.
<mP_Glue>.Use_Bind_Gap_Condition BooleanClass default: false -- boolean
Get/set the state of the "Bind Gap" checkbox.
<mP_Glue>.Bind_Gap Float default: 1.0 -- animatable; worldUnits
Get/set the value of the "Bind Gap" spinner.
<mP_Glue>.Bind_Center_Aligned_Only BooleanClass default: false -- boolean
Get/set the state of the "Bind Center Aligned Only" checkbox.
<mP_Glue>.Align_Margin Float default: 0.01 -- worldUnits
Get/set the value of the "Align Margin" spinner.
<mP_Glue>.Allow_Binding_Penetration BooleanClass default: false -- boolean
Get/set the state of the "Allow Binding Penetration" checkbox.
<mP_Glue>.Max_Binds_Per_Particle Integer default: 4 -- integer
Get/set the value of the "Max Binds Per Particle" spinner.
<mP_Glue>.Visualize_Binding BooleanClass default: false -- boolean
Get/set the state of the "Visualize Binding" checkbox.
<mP_Glue>.Color Color default: (color 0 0 255) -- RGB color
Get/set the value of the "Visualize Binding" color .
<mP_Glue>.Breakable_By_Force BooleanClass default: false -- boolean
Get/set the state of the "Breakable By Force" checkbox.
<mP_Glue>.Max_Force Float default: 1.0 -- animatable; float
Get/set the value of the "Max Force" spinner.
<mP_Glue>.Max_Torque Float default: 1.0 -- animatable; float
Get/set the value of the "Max Torque" spinner.
<mP_Glue>.Max_By_Bind_Distance BooleanClass default: false -- boolean
Get/set the state of the "Max By Bind Distance" checkbox.
<mP_Glue>.Distance_Unit Float default: 10.0 -- worldUnits
Get/set the value of the "Distance Unit" spinner.
<mP_Glue>.Continuous_Adjustment BooleanClass default: false -- boolean
Get/set the state of the "Continuous Adjustment" checkbox.
<mP_Glue>.Sync Integer default: 0 -- integer
Get/set the selection of the "Sync By" drop-down list.
<mP_Glue>.Test_True BooleanClass default: false -- boolean
Get/set the state of the "Test True When Particles" checkbox.
<mP_Glue>.Test_Type Integer default: 2 -- integer
Get/set the state of the "Test True When Particles" radio buttons.
Possible values are:
0 - Bind
1 - Break Any Binding
2 - Break All Bindings (default)
<mP_Glue>.Bind_In_Current_Event BooleanClass default: true -- boolean
Get/set the state of the "Current Event Particles" checkbox.
<mP_Glue>.Bind_With_Other_Events BooleanClass default: false -- boolean
Get/set the state of the "Other Events Particles" checkbox.
<mP_Glue>.Events_To_Bind_With ArrayParameter default: #() -- int array; SubAnim
Get/set the array of Event objects to bind with when .Bind_With_Other_Events
is set to True.
<mP_Glue>.Bind_With_Deflectors BooleanClass default: false -- boolean
Get/set the state of the "Deflectors" checkbox.
<mP_Glue>.Bind_With_Ground BooleanClass default: false -- boolean
Get/set the state of the "Ground" checkbox.
<mP_Glue>.Deflectors_To_Bind_With ArrayParameter default: #() -- node array; SubAnim
Get/set the array of Deflector objects to bind with when .Bind_With_Deflectors
is set to True.
<mP_Glue>.Use_Minimum_Distance_Limit BooleanClass default: false -- boolean
Get/set the state of the "Minimum Distance Limit" checkbox.
<mP_Glue>.Minimum_Distance_Type Integer default: 1 -- radiobtnIndex
Get/set the state of the "Minimum Distance Limit" radio buttons.
Possible values are:
0 - Absolute
1 - Relative (default)
<mP_Glue>.Minimum_Absolute_Distance Float default: 0.0 -- worldUnits
Get/set the value of the Minimum Distance Limit > "Absolute" spinner.
<mP_Glue>.Minimum_Relative_Distance Float default: 0.0 -- percent
Get/set the value of the Minimum Distance Limit > "Relative %" spinner.
<mP_Glue>.Use_Maximum_Distance_Limit BooleanClass default: true -- boolean
Get/set the state of the "Maximum Distance Limit" checkbox.
<mP_Glue>.Maximum_Distance_Type Integer default: 1 -- radiobtnIndex
Get/set the state of the "Maximum Distance Limit" radio buttons.
Possible values are:
0 - Absolute
1 - Relative (default)
<mP_Glue>.Maximum_Absolute_Distance Float default: 10.0 -- worldUnits
Get/set the value of the Maximum Distance Limit > "Absolute" spinner.
<mP_Glue>.Maximum_Relative_Distance Float default: 120.0 -- percent
Get/set the value of the Maximum Distance Limit > "Relative %" spinner.
<mP_Glue>.Enable_Spring_Force BooleanClass default: false -- boolean
Get/set the state of the "Enable Spring Force" checkbox.
<mP_Glue>.Adjust_By_Particle_Mass BooleanClass default: true -- boolean
Get/set the state of the "Adjust By Particle Mass" checkbox.
<mP_Glue>.Spring_Coef Float default: 1.0 -- float
Get/set the value of the "Spring Coef" spinner.
<mP_Glue>.Damper_Coef Float default: 1.0 -- float
Get/set the value of the "Damper Coef" spinner.
<mP_Glue>.Bury_Binding_Anchors BooleanClass default: false -- boolean
Get/set the state of the "Bury Binding Anchors" checkbox.
<mP_Glue>.depth Float default: 0.0 -- worldUnits
Get/set the value of the "Depth" spinner.
<mP_Glue>.Breakable_By_Overstretch BooleanClass default: false -- boolean
Get/set the state of the "Breakable By Overstretch" checkbox.
<mP_Glue>.Overstretch_Type Integer default: 1 -- radiobtnIndex
Get/set the state of the "Maximum Distance Limit" radio buttons.
Possible values are:
0 - Absolute
1 - Relative (default)
<mP_Glue>.Overstretch_Absolute_Limit Float default: 10.0 -- worldUnits
Get/set the value of the Breakability > "Absolute" spinner.
<mP_Glue>.Overstretch_Relative_Limit Float default: 150.0 -- percent
Get/set the value of the Breakability > "Relative %" spinner.
<mP_Glue>.Rigid_Binding_Anchor_Type Integer default: 0 -- integer
Get/set the selection of the Rigid Binding > "Binding Anchor Placement" drop-down list.
Possible values are:
0 - Centers Average (default)
1 - Closest Points Average
2 - Mass Proportional
<mP_Glue>.Solver_Factor Float default: 1.0 -- float
Get/set the value of the "Solver Factor" spinner.
<mP_Glue>.Simplified_Binding_Anchor_Type Integer default: 0 -- integer
Get/set the selection of the Simplified Binding > "Binding Anchor Placement" drop-down list.
Possible values are:
0 - Centers Average (default)
1 - Closest Points Average
2 - Mass Proportional
<mP_Glue>.Use_Data_Wiring BooleanClass default: false -- boolean
Enable/disable the use of From and To Data Wiring.
When set to True, the following optional rollouts will be displayed in the operator's UI and the following properties will become available:
<mP_Glue>.Bind_Distance_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Bind Distance" checkbox.
<mP_Glue>.Bind_Distance_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Bind Distance" Data Creator object.
<mP_Glue>.Bind_Gap_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Bind Gap" checkbox.
<mP_Glue>.Bind_Gap_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Bind Gap" Data Creator object.
<mP_Glue>.Breakability_Max_Force_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Breakability Max Force" checkbox.
<mP_Glue>.Breakability_Max_Force_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Breakability Max Force" Data Creator object.
<mP_Glue>.Breakability_Max_Torque_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Breakability Max Torque" checkbox.
<mP_Glue>.Breakability_Max_Torque_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Breakability Max Torque" Data Creator object.
<mP_Glue>.Max_Binds_Per_Particle_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Max Binds Per Particle" checkbox.
<mP_Glue>.Max_Binds_Per_Particle_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Max Binds Per Particle" Data Creator object.
<mP_Glue>.Binding_Groups_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Binding Groups" checkbox.
<mP_Glue>.Binding_Groups_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Binding Groups" Data Creator object.
<mP_Glue>.Minimum_Distance_Limit_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Minimum Distance Limit" checkbox.
<mP_Glue>.Minimum_Distance_Limit_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Minimum Distance Limit" Data Creator object.
<mP_Glue>.Maximum_Distance_Limit_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Maximum Distance Limit" checkbox.
<mP_Glue>.Maximum_Distance_Limit_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Maximum Distance Limit" Data Creator object.
<mP_Glue>.Spring_Damper_Coef_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Spring Damper Coef" checkbox.
<mP_Glue>.Spring_Damper_Coef_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Spring Damper Coef" Data Creator object.
<mP_Glue>.Spring_Force_Coef_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Spring Force Coef" checkbox.
<mP_Glue>.Spring_Force_Coef_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Spring Force Coef" Data Creator object.
<mP_Glue>.Overstretch_Distance_Limit_From_Data BooleanClass default: false -- boolean
Get/set the state of the "Overstretch Distance" checkbox.
<mP_Glue>.Overstretch_Distance_Limit_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Overstretch Distance" Data Creator object.
<mP_Glue>.Num_Active_Bindings_To_Data BooleanClass default: false -- boolean
Get/set the state of the "# Active Bindings" checkbox.
<mP_Glue>.Num_Active_Bindings_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "# Active Bindings" Data Creator object.
<mP_Glue>.Num_Broken_Bindings_To_Data BooleanClass default: false -- boolean
Get/set the state of the "# Broken Bindings" checkbox.
<mP_Glue>.Num_Broken_Bindings_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "# Broken Bindings" Data Creator object.
<mP_Glue>.Num_Broken_By_Force_To_Data BooleanClass default: false -- boolean
Get/set the state of the "# Broken By Force" checkbox.
<mP_Glue>.Num_Broken_By_Force_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "# Broken By Force" Data Creator object.
<mP_Glue>.Average_Binding_Length_To_Data BooleanClass default: false -- boolean
Get/set the state of the "Average Binding Length" checkbox.
<mP_Glue>.Average_Binding_Length_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Average Binding Length" Data Creator object.
<mP_Glue>.Minimum_Binding_Length_To_Data BooleanClass default: false -- boolean
Get/set the state of the "Minimum Binding Length" checkbox.
<mP_Glue>.Minimum_Binding_Length_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Minimum Binding Length" Data Creator object.
<mP_Glue>.Maximum_Binding_Length_To_Data BooleanClass default: false -- boolean
Get/set the state of the "Maximum Binding Length" checkbox.
<mP_Glue>.Maximum_Binding_Length_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Maximum Binding Length" Data Creator object.
<mP_Glue>.Average_Breaking_Impulse_To_Data BooleanClass default: false -- boolean
Get/set the state of the "Average Breaking Impulse" checkbox.
<mP_Glue>.Average_Breaking_Impulse_Data_Creator UndefinedClass default: undefined -- maxObject
Get/set the "Average Breaking Impulse" Data Creator object.
<mP_Glue>.Maximum_Breaking_Impulse_To_Data BooleanClass default: false -- boolean; Maximum_Breaking_Impuse_To_Data
Get/set the state of the "Maximum Breaking Impulse" checkbox.
<mP_Glue>.Maximum_Breaking_Impulse_Data_Creator UndefinedClass default: undefined -- maxObject; Maximum_Breaking_Impuse_Data_Creator
Get/set the "Maximum Breaking Impulse" Data Creator object.
The following common Particle Flow Interfaces are exposed by the mP_Glue Class: