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

# Vector : ReferenceTarget

    Vector - superclass: ReferenceTarget; super-superclass:MAXWrapper - 44:0 - classID: #(1137313548,554188032)

Description:

NEW in 3ds Max 2014: The Vector Particle Data View sub-operator generates data of vector type.

Constructors:

    Vector...

Properties:

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

Possible values are:

0 - Float Triplet

1 - Cartesian Coordinates (default)

2 - Spherical Polar Coords

3 - Cylindrical Polar Coords

4 - Percent Triplet

5 - Euler Triplet

6 - Roll, Pitch, and Yaw

## Float Triplet controls

    <Vector>.Float_X     Float    default: 1.0   --  animatable; float

    <Vector>.Float_Y     Float    default: 1.0   --  animatable; float

    <Vector>.Float_Z     Float    default: 1.0   --  animatable; float

Get/set the X, Y and Z component of the Float Triplet.

Used when .Type is set to 0 - Float Triplet

## Coordinates Triplet controls

    <Vector>.Coord_X     Float    default: 1.0   --  animatable; worldUnits

    <Vector>.Coord_Y     Float    default: 0.0   --  animatable; worldUnits

    <Vector>.Coord_Z     Float    default: 0.0   --  animatable; worldUnits

Get/set the "X/Abscissa", "Y/Ordinate" and "Z/Altitude" component of the Coordinates Triplet.

Used when .Type is set to 1 - Cartesian Coordinates.

## Spherical/Cylindrical Polar Coords controls

    <Vector>.radius     Float    default: 1.0   --  animatable; worldUnits

Get/set the value of the "Radius" spinner used when .Type is set to 2 - Spherical Polar Coords.

    <Vector>.Axial_Radius     Float    default: 1.0   --  animatable; worldUnits

Get/set the value of the "Axial Radius" spinner used when .Type is set to 3 - Cylindrical Polar Coords.

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

Get/set the value of the "Bearing" spinner used when .Type is set to 2 - Spherical Polar Coords or 3 - Cylindrical Polar Coords.

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

Get/set the value of the "Latitude" spinner used when .Type is set to 2 - Spherical Polar Coords.

## Percent Triplet controls

    <Vector>.Percent_X     Float    default: 100.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

    <Vector>.Percent_Y     Float    default: 100.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

    <Vector>.Percent_Z     Float    default: 100.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

Get/set the values of "X", "Y" and "Z" spinners used when .Type is set to 4- Percent Triplet.

## Euler Angles controls

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

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

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

Get/set the values of "X", "Y" and "Z" spinners used when .Type is set to 5 - Euler Triplet.

    <Vector>.Use_E1     BooleanClass    default: false   --  boolean

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

    <Vector>.Use_E2     BooleanClass    default: false   --  boolean

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

    <Vector>.Use_E3     BooleanClass    default: false   --  boolean

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

## Variation group of controls

    <Vector>.Use_Length_Variation     BooleanClass    default: false   --  boolean

Get/set the state of the Use Variation checkbox.

The label and use of this parameter depends on the current Type settings:

Type | UI Label | Property Used For Value
--- | --- | ---
Float Triplet | Offset Max | Float_Variation
Cartesian Coordinates | Length | Length_Variation
Spherical Polar Coords | Length | Length_Variation
Cylindrical Polar Coords | Length | Length_Variation
Percent Triplet | Offset Max | Percent_Variation
Euler Angles | Offset Max | Angle_Variation
Roll, Pitch, and Yaw | Offset Max | Angle_Variation

    <Vector>.Length_Variation     Float    default: 1.0   --  animatable; worldUnits

Get/set the value of the Float "Length" spinner. See the table above for the cases where .Length_Variation is used.

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

Get/set the value of the Angle "Offset Max" spinner. See the table above for the cases where .Angle_Variation is used.

    <Vector>.Float_Variation     Float    default: 0.0   --  animatable; float

Get/set the value of the Float "Offset Max" spinner. See the table above for the cases where .Float_Variation is used.

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

Get/set the value of the Percent "Offset Max" spinner. See the table above for the cases where .Percent_Variation is used.

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

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

    <Vector>.Use_Divergence     BooleanClass    default: false   --  boolean

Get/set the state of the "Divergence" checkbox used when .Type is set to 1, 2 or 3.

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

Get/set the value of the "Divergence" spinner used when .Use_Divergence is set to True.

    <Vector>.Use_E5     BooleanClass    default: false   --  boolean

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

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

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

    <Vector>.Use_As_Speed_Value     BooleanClass    default: false   --  boolean

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

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

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

Possible value are:

0 - Tick

1 - Frame

2 - Second (default)

## Parameters Animation Sync group of controls

    <Vector>.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

    <Vector>.Use_E6     BooleanClass    default: false   --  boolean; Use_E3

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

## Uniqueness

    <Vector>.Random_Seed     Integer    default: 78154   --  animatable; integer

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

    <Vector>.Use_E7     BooleanClass    default: false   --  boolean

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

## Input and Filter Sockets

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

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

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

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

    <Vector>.Input_5     UndefinedClass    default: undefined   --  maxObject

    <Vector>.Input_6     UndefinedClass    default: undefined   --  maxObject

    <Vector>.Input_7     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operators connected to the corresponding Input sockets of the Vector sub-operator.

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

Get/set the sub-operator connected to the Filter socket of the Vector sub-operator.

## Vector interfaces:

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

Interface: DataViewItem