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

# colorReferenceTarget : ReferenceTarget

    colorReferenceTarget - superclass: ReferenceTarget; super-superclass:MAXWrapper - 58:0 - classID: #(1137313563, 554188032)

| Particle Flow - Quick Navigation

Description:

NEW in 3ds Max 2014: The Color Particle Data View sub-operator generates vector data to be used as a color for vertex color mapping.

Constructor:

    colorReferenceTarget...

Properties:

## Color controls

    colorReferenceTarget>.Type     Integer    default: 0   --  radiobtnIndex

Get/set the state of the Color type radio buttons.

Possible values are:

0 - RGB (default)

1 - HSV

    colorReferenceTarget>.Color     Color    default: (color 255 255 0)   --  RGB color

Get/set the Color value of the sub-operator.

Used when the .Type property is set to 0 - RGB.

    colorReferenceTarget>.red     Integer    default: 255   --  animatable; integer

Get/set the Red channel of the Color value of the sub-operator.

    colorReferenceTarget>.Use_RGB_E1     BooleanClass    default: false   --  boolean

Get/set the state of the "E1" checkbutton used to expose the property when the .Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_RGB_I1     BooleanClass    default: false   --  boolean

Get/set the state of the "I1" checkbutton used to enable the property's Input socket when the .Type property is set to 0 - RGB.

    colorReferenceTarget>.green     Integer    default: 255   --  animatable; integer

Get/set the Green channel of the Color value of the sub-operator.

    colorReferenceTarget>.Use_RGB_E2     BooleanClass    default: false   --  boolean

Get/set the state of the "E2"checkbutton used to expose the property when the .Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_RGB_I2     BooleanClass    default: false   --  boolean

Get/set the state of the "I2" checkbutton used to enable the property's Input socket when the .Type property is set to 0 - RGB.

    colorReferenceTarget>.blue     Integer    default: 0   --  animatable; integer

Get/set the Blue channel of the Color value of the sub-operator.

    colorReferenceTarget>.Use_RGB_E3     BooleanClass    default: false   --  boolean

Get/set the state of the "E3"checkbutton used to expose the property when the .Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_RGB_I3     BooleanClass    default: false   --  boolean

Get/set the state of the "I3" checkbutton used to enable the property's Input socket when the .Type property is set to 0 - RGB.

    colorReferenceTarget>.Hue     Integer    default: 43   --  animatable; integer

Get/set the HSV Hue component of the sub-operator's Color value.

    colorReferenceTarget>.Use_HSV_E1     BooleanClass    default: false   --  boolean

Get/set the state of the "E1" checkbutton used used to expose the property when the .Type property is set to 1 - HSV.

    colorReferenceTarget>.Use_HSV_I1     BooleanClass    default: false   --  boolean

Get/set the state of the "I1" checkbutton used to enable the property's Input socket when the .Type property is set to 1 - HSV.

    colorReferenceTarget>.Saturation     Integer    default: 255   --  animatable; integer

Get/set the HSV Saturation component of the sub-operator's Color value.

    colorReferenceTarget>.Use_HSV_E2     BooleanClass    default: false   --  boolean

Get/set the state of the "E2" checkbutton used used to expose the property when the .Type property is set to 1 - HSV.

    colorReferenceTarget>.Use_HSV_I2     BooleanClass    default: false   --  boolean

Get/set the state of the "I2" checkbutton used to enable the property's Input socket when the .Type property is set to 1 - HSV.

    colorReferenceTarget>.Value     Integer    default: 255   --  animatable; integer

Get/set the HSV Value component of the sub-operator's Color value.

    colorReferenceTarget>.Use_HSV_E3     BooleanClass    default: false   --  boolean

Get/set the state of the "E3" checkbutton used used to expose the property when the .Type property is set to 1 - HSV.

    colorReferenceTarget>.Use_HSV_I3     BooleanClass    default: false   --  boolean

Get/set the state of the "I3" checkbutton used to enable the property's Input socket when the .Type property is set to 1 - HSV .

## Variation group of controls

    colorReferenceTarget>.Variation_Type     Integer    default: 0   --  radiobtnIndex

Get/set the state of the Variation radio buttons.

Possible values are:

0 - RGB (default)

1 - HSV

    colorReferenceTarget>.Use_Red_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Red Variation checkbox.

    colorReferenceTarget>.Red_Variation     Integer    default: 0   --  animatable; integer

Get/set the value of the Red Variation spinner.

    colorReferenceTarget>.Use_RGB_E4     BooleanClass    default: false   --  boolean

Get/set the state of the "E4" checkbutton used to expose the property when the Variation_Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_RGB_I4     BooleanClass    default: false   --  boolean

Get/set the state of the "I4" checkbutton used to enable the property's Input socket when the Variation_Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_Green_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Green Variation checkbox.

    colorReferenceTarget>.Green_Variation     Integer    default: 0   --  animatable; integer

Get/set the value of the Green Variation spinner.

    colorReferenceTarget>.Use_RGB_E5     BooleanClass    default: false   --  boolean

Get/set the state of the "E5" checkbutton used to expose the property when the Variation_Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_RGB_I5     BooleanClass    default: false   --  boolean

Get/set the state of the "I5" checkbutton used to enable the property's Input socket when the Variation_Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_Blue_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Blue Variation checkbox.

    colorReferenceTarget>.Blue_Variation     Integer    default: 0   --  animatable; integer

Get/set the value of the Blue Variation spinner.

    colorReferenceTarget>.Use_RGB_E6     BooleanClass    default: false   --  boolean

Get/set the state of the "E6" checkbutton used to expose the property when the Variation_Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_RGB_I6     BooleanClass    default: false   --  boolean

Get/set the state of the "I6" checkbutton used to enable the property's Input socket when the Variation_Type property is set to 0 - RGB .

    colorReferenceTarget>.Use_Hue_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Hue Variation checkbox.

    colorReferenceTarget>.Hue_Variation     Integer    default: 0   --  animatable; integer

Get/set the value of the Hue Variation spinner.

    colorReferenceTarget>.Use_HSV_E4     BooleanClass    default: false   --  boolean

Get/set the state of the "E4" checkbutton used to expose the property when the Variation_Type property is set to 1 - HSV .

    colorReferenceTarget>.Use_HSV_I4     BooleanClass    default: false   --  boolean

Get/set the state of the "I4" checkbutton used to enable the property's Input socket when the Variation_Type property is set to 1 - HSV .

    colorReferenceTarget>.Use_Saturation_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Saturation Variation checkbox.

    colorReferenceTarget>.Saturation_Variation     Integer    default: 0   --  animatable; integer

Get/set the value of the Saturation Variation spinner.

    colorReferenceTarget>.Use_HSV_E5     BooleanClass    default: false   --  boolean

Get/set the state of the "E5" checkbutton used to expose the property when the Variation_Type property is set to 1 - HSV .

    colorReferenceTarget>.Use_HSV_I5     BooleanClass    default: false   --  boolean

Get/set the state of the "I5" checkbutton used to enable the property's Input socket when the Variation_Type property is set to 1 - HSV .

    colorReferenceTarget>.Use_Value_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Value Variation checkbox.

    colorReferenceTarget>.Value_Variation     Integer    default: 0   --  animatable; integer

Get/set the value of the Value Variation spinner.

    colorReferenceTarget>.Use_HSV_E6     BooleanClass    default: false   --  boolean

Get/set the state of the "E6" checkbutton used to expose the property when the Variation_Type property is set to 1 - HSV .

    colorReferenceTarget>.Use_HSV_I6     BooleanClass    default: false   --  boolean

Get/set the state of the "I6" checkbutton used to enable the property's Input socket when the Variation_Type property is set to 1 - HSV .

## Parameters Animation Sync group of controls

    colorReferenceTarget>.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 - Event Duration

2 - Particle Age

3 - Particle Lifespan

4 - Time Data Input - exposes I7 Input Socket

    colorReferenceTarget>.Use_E7     BooleanClass    default: false   --  boolean

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

## Uniqueness group of controls

    colorReferenceTarget>.Random_Seed     Integer    default: 78155   --  animatable; integer

Get/set the value of the "Random Seed" spinner.

    colorReferenceTarget>.Use_E8     BooleanClass    default: false   --  boolean

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

## Inputs and Filter Sockets

    colorReferenceTarget>.Input_1     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the first Input socket, providing either the RGB Red or HSV Hue component of the color, depending on the .Type property.

    colorReferenceTarget>.Input_2     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the second Input socket, providing either the RGB Green or HSV Saturation component of the color, depending on the .Type property.

    colorReferenceTarget>.Input_3     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the third Input socket, providing either the RGB Blue or HSV Value component of the color, depending on the .Type property.

    colorReferenceTarget>.Input_4     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the fourth Input socket, providing either the RGB Red Variation or HSV Hue Variation of the color, depending on the .Variation_Type property.

    colorReferenceTarget>.Input_5     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the fifth Input socket, providing either the RGB Green Variation or HSV Saturation Variation of the color, depending on the .Variation_Type property.

    colorReferenceTarget>.Input_6     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the sixth Input socket, providing either the RGB Blue Variation or HSV Value Variation of the color, depending on the .Variation_Type property.

    colorReferenceTarget>.Input_7     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the seventh Input socket, used either when the .Use_E7 property is set to True, or when the .Sync_Type property is set to 4 - Time Data Input .

    colorReferenceTarget>.Input_8     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the eighth Input socket, providing the Random value when the .Use_E8 property is set to True,.

    colorReferenceTarget>.Filter     UndefinedClass    default: undefined   --  maxObject

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

## colorReferenceTarget interfaces:

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

Interface: DataViewItem