MaterialByElement : Modifier

Constructor

materialByElement ...

Properties

<MaterialByElement>.method            Integer  default: 1

Set method:

0- Random Distribution (Assigns the materials at random to different elements in the object.)

1- List Frequency (Determines an approximate relative weight (percentage) for each of up to eight material ID's)

<MaterialByElement>.Material_ID_Count Integer  default: 2   -- animatable

The minimum number of material IDs to assign. Because material ID assignment is random, setting it to the number of materials in the multi/sub-object material or higher doesn't guarantee that all materials get used.

<MaterialByElement>.Material_ID__1    Float    default: 0.5 -- animatable

Approximate relative weight (percentage) for first material ID.

<MaterialByElement>.Material_ID__2    Float    default: 0.5 -- animatable

Approximate relative weight (percentage) for second material ID.

<MaterialByElement>.Material_ID__3    Float    default: 0.0 -- animatable

Approximate relative weight (percentage) for third material ID.

<MaterialByElement>.Material_ID__4    Float    default: 0.0 -- animatable

Approximate relative weight (percentage) for fourth material ID.

<MaterialByElement>.Material_ID__5    Float    default: 0.0 -- animatable

Approximate relative weight (percentage) for fifth material ID.

<MaterialByElement>.Material_ID__6    Float    default: 0.0 -- animatable

Approximate relative weight (percentage) for sixth material ID.

<MaterialByElement>.Material_ID__7    Float    default: 0.0 -- animatable

Approximate relative weight (percentage) for seventh material ID.

<MaterialByElement>.Material_ID__8    Float    default: 0.0 -- animatable

Approximate relative weight (percentage) for eighth material ID.

<MaterialByElement>.Random_Seed       Integer  default: 12345

The seed value for the (pseudo-)randomization of material ID assignments.

Notes

Material_ID values are shown as percentages in the 3ds max user interface, but stored as fractions.

See also