Condition : ReferenceTarget

Condition - superclass: ReferenceTarget; super-superclass:MAXWrapper - 29:0 - classID: #(1137313552, 554188032) 
 

   

Particle Flow - Quick Navigation

Description:

The Condition Particle Data View sub-operator creates boolean data by testing scalar data.

Available in 3ds Max 2014 and higher.

   

Constructor:

Condition...

   

Properties:

<Condition>.Type     Integer    default: 1   --  integer

Get/set the selection of the "Input Type" drop-down list.

It defines the type of the values to be compared in the condition.

Possible values are:

0 - Angle

1 - Float (default)

2 - Integer

3 - Percent

4 - Time

5 - World Unit

   

Output True If Input Value

<Condition>.Condition_Type_Int     Integer    default: 1   --  integer

Get/set the selection of the condition drop-down list when the Input Type value is of type Integer.

Possible values are:

0 - Is Less Than Value A

1 - Is Greater Than Value A (default)

2 - Is Equal To Value A

3 - Is Not Equal To Value A

   

<Condition>.Condition_Type_Real     Integer    default: 1   --  integer

Get/set the selection of the condition drop-down list when the Input Type value is of type Real.

Possible values are:

0 - Is Less Than Value A

1 - Is Greater Than Value A (default)

   

Value A

<Condition>.Angle_A     Float    default: 0.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)
<Condition>.Float_A     Float    default: 0.0   --  animatable; float
<Condition>.Integer_A     Integer    default: 0   --  animatable; integer
<Condition>.Percent_A     Float    default: 0.0   --  animatable; percent; Controller Scaling: (1 : 100.0)
<Condition>.Time_A     Integer    default: 0   --  animatable; integer
<Condition>.World_A     Float    default: 0.0   --  animatable; worldUnits

Get/set the Value A depending on the type specified by the .Type property.

   

<Condition>.Use_Input_As_A     BooleanClass    default: false   --  boolean

Get/set the state of the "R2", "I2" or "T2" checkbox which enables the use of the second Input socket, depending on the value of the .Type property.

<Condition>.Use_Second_Condition     BooleanClass    default: false   --  boolean

Get/set the state of the second condition's checkbox. The UI label "And|Or Less|Greater Than Value B" depends on the first condition and the value type.

   

Value B

<Condition>.Angle_B     Float    default: 90.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)
<Condition>.Float_B     Float    default: 10.0   --  animatable; float
<Condition>.Integer_B     Integer    default: 10   --  animatable; integer
<Condition>.Percent_B     Float    default: 50.0   --  animatable; percent; Controller Scaling: (1 : 100.0)
<Condition>.Time_B     Integer    default: 4800   --  animatable; integer
<Condition>.World_B     Float    default: 10.0   --  animatable; worldUnits

Get/set the Value B depending on the type specified by the .Type property.

   

<Condition>.Use_Input_As_B     BooleanClass    default: false   --  boolean

Get/set the state of the "R3", "I3" or "T3" checkbox which enables the use of the second Input socket, depending on the value of the .Type property.

   

<Condition>.Use_As_Acceleration     BooleanClass    default: false   --  boolean

Get/set the state of the "Use As Acceleration Value" checkbox.

   

<Condition>.Use_As_Speed_Or_Spin_Rate     BooleanClass    default: false   --  boolean

Get/set the state of the "Use As Speed Value or "Use As Spin Rate" checkbox, depending on .Type property.

   

<Condition>.Units_Per_Type     Integer    default: 2   --  integer

Get/set the selection of the "Units Per" drop-down list.

Possible values are:

0 - Tick

1 - Frame

2 - Second (default)

   

<Condition>.Angle_As_Orientation     BooleanClass    default: false   --  boolean

Get/set the state of the "Angle As Orientation" checkbox.

   

Parameters Animation Sync group of controls

<Condition>.Sync_Type     Integer    default: 0   --  animatable; integer

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

Possible values are:

0 - Absolute Time (default)

1 - Particle Age

2 - Particle Lifespan

3 - Event Duration

4 - Time Data Input

   

<Condition>.Use_E4     BooleanClass    default: false   --  boolean

Get/set the state of the "E4" checkbutton.

   

Input and Filter Sockets

<Condition>.Input_1     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the first Input socket, representing the condition's value to test.

   

<Condition>.Input_2     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the second Input socket, representing the Value A to compare to.

   

<Condition>.Input_3     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the third Input socket, representing the optional Value B to compare to.

   

<Condition>.Input_4     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the fourth Input socket, representing the sub-operator's time.

   

<Condition>.Filter     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the Filter Input of the Condition sub-operator.

   

Condition interfaces:

The following common interface is exposed by the Condition Particle Data View sub-operator:

Interface: DataViewItem