Value > MAXWrapper > Node > GeometryClass > Boolean2 |
Creates a Boolean2 object using node <operand_A> and an optional node <operand_B> .
<add_method> specifies how <operand_B> is to be used as follows:
1 - instance, operand is an instance of the original node
2 - reference, operand is a reference to original node
3 - copy, operand is a copy of original node
4 - move, original node should be deleted
<mat_method> specifies how the materials of the two operands are to be handled as follows:
1 - combines materials without changing them or the ID's
2 - matches ID's to materials, then combines materials
3 - matches materials to ID's, then combines them
4 - discards original material, uses new node's instead
5 - discards new node's material, uses original
The following properties are available only after the boolean2 object has been created.
The values shown for the properties are those for a boolean2 object created from two spheres.
The operand transforms are in the local coordinate system of the boolean2 object.
<bool_obj>.Sphere02 SubAnim default: SubAnim:Sphere02 <bool_obj>.Operand_A_Transform SubAnim default: SubAnim:Operand_A_Transform <bool_obj>.Sphere01 SubAnim default: SubAnim:Sphere01 <bool_obj>.Operand_B_Transform SubAnim default: SubAnim:Operand_B_Transform
sets operand B. The values for <add_method> and <mat_method> are describe above.
these methods get and set whether operand_A and operand_B are selected in the Operands list. <integer> = 1 - operand_A, 2 - operand_B
these methods get and set the boolean Operation Type. Valid values are:
these methods get and set the boolean Cut Type. The value for this property only has an effect if the Operation Type is Cut. The Cut Types are:
these methods get and set whether Results or Operands are displayed. If true , Result is displayed. If false , Operands are displayed.
these methods get and set whether Results + Hidden Operands are displayed. If true , Results + Hidden Operands are displayed. If false , the Results or Operands as specified using boolObj.SetDisplayResult() are displayed.
these methods get and set the Update mode as follows:
these methods get and set whether vertices are to be welded on the boolean result