Lens_Effects - superclass: renderEffect; super-superclass:MAXWrapper - classID: #(1347096675, 1339450746)
Value > MAXWrapper > RenderEffect > Lens_Effects |
Get/set the size of the lens effect.
Get/set the intensity of the lens effect.
Get/set the random seed of the lens effect.
Get/set the angle of the lens effect.
Get/set the squeeze value of the lens effect.
Get/set whether the lens effect will affect the Alpha channel.
Get/set whether the lens effect will affect the Z-Buffer channel.
Get/set whether the distance will affect the Size of the lens effect.
Get/set whether the distance will affect the Intensity of the lens effect.
Get/set whether the location of the lens effect relatively to the center of the image will affect the Size of the effect.
Get/set whether the location of the lens effect relatively to the center of the image will affect the Intensity of the effect.
Get/set the inner occlusion radius of the lens effect.
<Lens_Effects>.outerOcclusionRadius Float default: 33.0 -- animatable, alias: Outer_Occlusion_Radius
Get/set the outer occlusion radius of the lens effect.
Get/set whether the occlusion will affect the size of the lens effect.
<Lens_Effects>.occlusionAffectsIntensity Boolean default: true -- alias: Occlusion_Affects_Intensity
Get/set whether the occlusion will affect the intensity of the lens effect.
Get/set whether the lens effect will be affected by atmospheric effects.
The following methods add elements to a Lens Effects, load and save a Lens Effects configuration file, add and delete lights, and delete Lens Effects elements.
Adds a Auto Secondary element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Adds a Glow element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Adds a Manual Secondary element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Adds a Ray element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Adds a Ring element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Adds a Star element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Adds a Streak element to the Lens Effect. The element is appended to any elements present. Returns true if the addition was successful, false if it failed.
Saves the Lens Effects configuration to the file specified by <filename_string> . Animated parameter values are not saved.
Returns the number of lights in the light list.
Adds light node to the light list.
Adds the specified light to the Lens Effects Lights dropdown. light_node_name_string is the name of the light as a string, and must match the case of the light’s name. Returns true if the addition was successful, false if it failed. The normal reason for a failure is that the named light is not present in the scene.
Deletes the indexed light from the Lens Effects Lights dropdown, where <index_integer> is the index of the light in the Lens Effects Lights dropdown. Returns true if the deletion was successful, false if it failed. The normal reason for a failure is that the indexed light is not present in the dropdown.
Deletes the named light from the Lens Effects Lights dropdown. light_node_name_string is the name of the light as a string, and must match the case of the light’s name. Returns true if the deletion was successful, false if it failed. The normal reason for a failure is that the named light is not present in the dropdown.
Returns the light list index of the named light. Returns -1 if the light’s name is not in the light list.
Returns the node name of the light for the specified light list index. If the index is out of range, a null string will be returned.
Deletes the indexed element, where <index_integer> is the index of the element in the Lens Effects composition window. Returns true if the deletion was successful, false if it failed. The normal reason for a failure is that the indexed element does not exist.
Deletes the named element. element_name_string is the name of the element as a string, and must match the case of the element’s name. Returns true if the deletion was successful, false if it failed. The normal reason for a failure is that the named element does not exist.