Lens_Effects - Auto_Secondary_Element

Auto_Secondary_Element - superclass: ReferenceTarget; super-superclass:MAXWrapper - classID: #(1388329754, 2046584440)

Constructor

le.addASec <Lens_Effects>

Aliases

Auto_Secondary_Element

'ASec Element'

Properties

<auto_secondary>.elementName String default: "Auto Secondary" -- alias: Name

Get/set the name of the element.

<auto_secondary>.on Boolean default: true

Toggle element on/off.

<auto_secondary>.minSize Float default: 25.0 -- animatable; alias: Min_Size

Get/set the min. size

<auto_secondary>.maxSize Float default: 100.0 -- animatable; alias: Max_Size

Get/set the max. size

<auto_secondary>.axis Float default: 3.0 -- animatable

Get/set the axis

<auto_secondary>.intensity Float default: 30.0 -- animatable

Get/set the intensity

<auto_secondary>.quantity Integer default: 12 -- animatable

Get/set the quantity

<auto_secondary>.colorSource Float default: 20.0 -- animatable; alias: Source_Color

Get/set the source color

<auto_secondary>.sides Integer default: 0

Get/set the number of sides.

Possible values are:

0 - Circular

1 - Three

2 - Four

3 - Five

4 - Six

5 - Seven

6 - Eight

<auto_secondary>.occlusion Float default: 100.0 -- animatable

Get/set the occlusion

<auto_secondary>.presets Integer default: 0

Selects a preset from the indexed list. If .presets is set to 0, no preset is selected.

<auto_secondary>.squeeze Boolean default: false

 

<auto_secondary>.radialColor1 Color default: (color 0 0 0) -- animatable; alias: Radial_Color_1

 

<auto_secondary>.radialColor2 Color default: (color 57 34 89) -- animatable; alias: Radial_Color_2

 

<auto_secondary>.radialColor3 Color default: (color 85 139 85) -- animatable; alias: Radial_Color_3

 

<auto_secondary>.radialColor4 Color default: (color 190 99 10) -- animatable; alias: Radial_Color_4

 

<auto_secondary>.colorRadius1 Float default: 90.0 -- animatable; alias: Radius_Color_1

 

<auto_secondary>.colorRadius2 Float default: 92.0 -- animatable; alias: Radius_Color_2

 

<auto_secondary>.colorRadius3 Float default: 95.0 -- animatable; alias: Radius_Color_3

 

<auto_secondary>.colorRadius4 Float default: 98.0 -- animatable; alias: Radius_Color_4

 

<auto_secondary>.radialMtl TextureMap default: undefined -- alias: Radial_Material

 

<auto_secondary>.useRadialMtl Boolean default: false -- alias: Apply_Radial_Color_Map

 

<auto_secondary>.radial_falloff SubAnim

 

<auto_secondary>.radialMap TextureMap default: undefined -- alias: Radial_Falloff_Map

 

<auto_secondary>.useRadialMap Boolean default: false -- alias: Apply_Radial_Falloff_Map

 

<auto_secondary>.circularColorMix Float default: 0.0 -- animatable; alias: Circular_Color_Mix

 

<auto_secondary>.quadrant1Color Color default: (color 255 0 0) -- animatable; alias: Quadrant_1_Color

 

<auto_secondary>.quadrant2Color Color default: (color 255 0 0) -- animatable; alias: Quadrant_2_Color

 

<auto_secondary>.quadrant3Color Color default: (color 255 0 0) -- animatable; alias: Quadrant_3_Color

 

<auto_secondary>.quadrant4Color Color default: (color 255 0 0) -- animatable; alias: Quadrant_4_Color

 

<auto_secondary>.circularMtl TextureMap default: undefined -- alias: Circular_Material

 

<auto_secondary>.useCircularMtl Boolean default: false -- alias: Apply_Circular_Color_Map

 

<auto_secondary>.circular_falloff SubAnim

 

<auto_secondary>.circularMap TextureMap default: undefined -- alias: Circular_Falloff_Map

 

<auto_secondary>.useCircularMap Boolean default: false -- alias: Apply_Circular_Falloff_Map

 

<auto_secondary>.radial_size SubAnim

 

<auto_secondary>.radialSizeMap TextureMap default: undefined -- alias: Radial_Size_Map

 

<auto_secondary>.useRadialSizeMap Boolean default: false -- alias: Apply_Radial_Size_Map

 

<auto_secondary>.applyLights Boolean default: true -- alias: Apply_to_Lights

 

<auto_secondary>.applyImage Boolean default: false -- alias: Apply_to_Image

 

<auto_secondary>.applyImageCenters Boolean default: false -- alias: Apply_to_Image_Centers

 

<auto_secondary>.sourceObjectID Boolean default: false -- alias: Source_Object_ID

 

<auto_secondary>.objectID Integer default: 1 -- animatable; alias: Object_ID

 

<auto_secondary>.sourceEffectsID Boolean default: false -- alias: Source_Effects_ID

 

<auto_secondary>.effectsID Integer default: 0 -- animatable; alias: Effects_ID

 

<auto_secondary>.sourceUnclampedColor Boolean default: false -- alias: Source_Unclamped_Color

 

<auto_secondary>.unclampedColor Float default: 1.0 -- animatable; alias: Unclamped_Color

 

<auto_secondary>.unclampedColorInvert Boolean default: false -- alias: Source_Unclamped_Color_Invert

 

<auto_secondary>.sourceSurfaceNormal Boolean default: false -- alias: Source_Surface_Normal

 

<auto_secondary>.surfaceNormal Float default: 0.0 -- animatable; alias: Surface_Normal

 

<auto_secondary>.surfaceNormalInvert Boolean default: false -- alias: Source_Surface_Normal_Invert

 

<auto_secondary>.sourceWhole Boolean default: false -- alias: Source_Whole

 

<auto_secondary>.sourceAlpha Boolean default: false -- alias: Source_Alpha

 

<auto_secondary>.alpha Integer default: 0

 

<auto_secondary>.sourceZBuffer Boolean default: false -- alias: Source_Z_Buffer

 

<auto_secondary>.zHi Float default: 1000.0 -- animatable; alias: Z_Hi

 

<auto_secondary>.zLo Float default: 0.0 -- animatable; alias: Z_Lo

 

<auto_secondary>.filterAll Boolean default: true -- alias: Filter_All

 

<auto_secondary>.filterEdge Boolean default: false -- alias: Filter_Edge

 

<auto_secondary>.filterPerimeterAlpha Boolean default: false -- alias: Filter_Perimeter_Alpha

 

<auto_secondary>.filterPerimeter Boolean default: false -- alias: Filter_Perimeter

 

<auto_secondary>.filterBrightness Boolean default: false -- alias: Filter_Brightness

 

<auto_secondary>.brightness Integer default: 0 -- animatable; alias: Bright

 

<auto_secondary>.brightnessInvert Boolean default: false -- alias: Filter_Brightness_Invert

 

<auto_secondary>.filterHue Boolean default: false -- alias: Filter_Hue

 

<auto_secondary>.hueRange Integer default: 0 -- animatable; alias: Hue_Range

 

<auto_secondary>.hue Color default: (color 255 0 0) -- animatable

 

<auto_secondary>.applyNoise Boolean default: false -- alias: Apply_Additional_Effects

 

<auto_secondary>.noiseMap TextureMap default: undefined -- alias: Noise_Map

 

<auto_secondary>.radial_density SubAnim

 

<auto_secondary>.radialDensity TextureMap default: undefined -- alias: Radial_Density_Map

 

<auto_secondary>.useRadialDensity Boolean default: false -- alias: Apply_Radial_Density_Map

 

<auto_secondary.radial_falloff>.curve_1 SubAnim

The curve_1 SubAnim contains the radial_falloff curve. You cannot create or access points in this curve unless the point is animated. In this case, you can access the animated point position as a SubAnim of the curve_1 property.

<auto_secondary.circular_falloff>.curve_1 SubAnim

The curve_1 SubAnim contains the circular_falloff curve. You cannot create or access points in this curve unless the point is animated. In this case, you can access the animated point position as a SubAnim of the curve_1 property.

<auto_secondary.radial_size>.curve_1 SubAnim

The curve_1 SubAnim contains the radial_size curve. You cannot create or access points in this curve unless the point is animated. In this case, you can access the animated point position as a SubAnim of the curve_1 property.

<auto_secondary.radial_density>.curve_1 SubAnim

The curve_1 SubAnim contains the radial_density curve. You cannot create or access points in this curve unless the point is animated. In this case, you can access the animated point position as a SubAnim of the curve_1 property.

Notes

The le.addASec <Lens_Effects> method returns true if the addition was successful, false if it failed. Once the element has been added, it can be accessed as a property of the lens_effects value. The name of this property for auto_secondary elements is auto_secondary. If more than one element of the same type is added, only the first is accessible using the property name. You will need to access the remaining elements as subAnims of the lens_effects value. The subAnim names are the same as the property names. The elements start at subAnim 7.

See also

Lens_Effects : RenderEffect

Value Common Properties, Operators, and Methods