Material_Frequency : Helper

Material_Frequency - superclass: helper super-superclass:node - classID: #(1962490664, 515064320) 

Description:

The Material_Frequency operator lets you assign a material to an event, and specify the relative frequency with which each sub-material appears. Typically, the material is a Multi/Sub-Object material, and you specify the frequency by setting a percentage for each of up to 10 different sub-materials (or material ID). The software assigns IDs to particles in a random sequence, based on these percentages. You can also use other materials that use sub-materials, such as Double Sided and Top/Bottom.

Constructor:

Material_Frequency... 

Properties:

<Material_Frequency>.Assign_Material Boolean default:true 

When set to True, the operator assigns a material to the particles.

<Material_Frequency>.Material Material default:undefined 

Get/set the Material to be assigned to the particles.

<Material_Frequency>.Assign_Material_ID Boolean default:false 

When set to True, the operator defines a material ID number for each particle.

<Material_Frequency>.Show_In_Viewport Boolean default:false 

When set to True, the material is shown applied to the particles in the viewports.

<Material_Frequency>.Mtl_ID_1 Float default:50.0 --percentage 
<Material_Frequency>.Mtl_ID_2 Float default:50.0 --percentage 
<Material_Frequency>.Mtl_ID_3 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_4 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_5 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_6 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_7 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_8 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_9 Float default:0.0 --percentage 
<Material_Frequency>.Mtl_ID_10 Float default:0.0 --percentage 

Specify the relative likelihood of particles to be assigned the corresponding material ID.

Assign values for all IDs, or sub-materials, in the material that you want to have applied to the particles.

<Material_Frequency>.Random_Seed Integer default:12345 

Specifies a randomization value.

Material_Frequency Interfaces:

Interface: action

Interface: operator

Interface: PViewItem