Constructor
morphermaterial ...
Note: This class is not available in 3D Studio VIZ.
Properties
<MorpherMaterial>.Channel_0 Float default: 0.0 -- animatable, percentage
<MorpherMaterial>.Channel_1 Float default: 0.0 -- animatable, percentage
<MorpherMaterial>.Channel_2 Float default: 0.0 -- animatable, percentage
...
<MorpherMaterial>.Channel_98 Float default: 0.0 -- animatable, percentage
<MorpherMaterial>.Channel_99 Float default: 0.0 -- animatable, percentage
<MorpherMaterial>.Channel_100 Float default: 0.0 -- percentage
Notes
The Morph modifier associated with a MorpherMaterial can not be set using MAXScript in 3ds max 4.
The Channel_N properties are instances of the Morph modifier channel percentage properties, where MorpherMaterial Channel_N corresponds to the Morph modifier channel N+1. The MorpherMaterial Channel_100 value corresponds to Morph modifier base object percentage.
The Channel_N property values are 100* the value shown for the corresponding Morph modifier channel percentage value.
The submaterial for each channel is stored as a subAnim, and can not be set using MAXScript. Once a material has been assigned to a channel (channel N), the properties of that material can be accessed as subAnim N+1 of the MorpherMaterial, and the base object submaterial is subAnim 101.
As an example, suppose you had an object called MyMorph which has two morph channels defined, and a MorpherMaterial applied to it. You would need to assign the channel submaterials in the 3ds max user interface. To access this material and its submaterials you could use:
mtl=$MyMorph.material -- get the MorpherMaterial
MM_C1_percent=mtl.Channel_0/100.ùget morph target 1 percentage and scale it correctly
MM_C1_mtl=mtl[1] -- get morph target 1 submaterial
MM_base_percent=mtl.Channel_100/100.ùget morph base object percentage and scale it correctly
MM_base_mtl=mtl[101] -- get morph base object submaterial
See also
Material Common Properties, Operators, and Methods