MAXScript Extensions > MAXScript Extensions for Particle Flow > Particle Flow Classes > Data Operators > Data Sub-Operators >

# Discretizator : ReferenceTarget

    Discretizator - superclass: ReferenceTarget; super-superclass:MAXWrapper - 17:0 - classID: #(1137313561, 554188032)

Description:

NEW in 3ds Max 2014: The Discretizator Particle Data View sub-operator transforms continuous range of values in discrete set.

Constructor:

    Discretizator...

Properties:

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

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

It defines the type of the input data expected.

Possible values are:

0 - Angle

1 - Float (default)

2 - Integer

3 - Percent

4 - Time

5 - World Unit

    <Discretizator>.Base_Angle     Float    default: 0.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)

Get/set the Base value when .Type is set to 0 - Angle.

    <Discretizator>.Base_Float     Float    default: 0.0   --  animatable; float

Get/set the Base value when .Type is set to 1 - Float.

    <Discretizator>.Base_Integer     Integer    default: 0   --  animatable; integer; Base__Integer

Get/set the Base value when .Type is set to 2 - Integer.

    <Discretizator>.Base_Percent     Float    default: 0.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

Get/set the Base value when .Type is set to 3 - Percent.

    <Discretizator>.Base_Time     Integer    default: 0   --  animatable; integer

Get/set the Base value when .Type is set to 4 - Time.

    <Discretizator>.Base_World     Float    default: 0.0   --  animatable; worldUnits

Get/set the Base value when .Type is set to 5- World Unit.

    <Discretizator>.Step_Angle     Float    default: 1.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)

Get/set the Step value when .Type is set to 0 - Angle.

    <Discretizator>.Step_Float     Float    default: 1.0   --  animatable; float

Get/set the Step value when .Type is set to 1 - Float.

    <Discretizator>.Step_Integer     Integer    default: 1   --  animatable; integer; Step__Integer

Get/set the Step value when .Type is set to 2 - Integer.

    <Discretizator>.Step_Percent     Float    default: 1.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

Get/set the Step value when .Type is set to 3 - Percent.

    <Discretizator>.Step_Time     Integer    default: 160   --  animatable; integer

Get/set the Step value when .Type is set to 4 - Time.

    <Discretizator>.Step_World     Float    default: 0.1   --  animatable; worldUnits

Get/set the Step value when .Type is set to 5- World Unit.

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

Get/set the state of the "Use As Speed Value" checkbox used when .Type is set to 0 - Angle or 5 - World Unit.

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

Get/set the selection of the "Units Per" checkbox used when .Use_As_Speed_Or_Spin_Rate is set to True and .Type is set to 0 - Angle or 5 - World Unit.

Possible values are:

0 - Tick

1 - Frame

2 - Second (default)

    <Discretizator>.Input     UndefinedClass    default: undefined   --  maxObject

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

Assigning a sub-operator with the expected output type to the .Input property will effectively wire that sub-operator to the Input of the Convert sub-operator.

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

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

## Discretizator interfaces:

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

Interface: DataViewItem