material .alpha .level .set  (  MaterialObjectID ,  AlphaLevel  )  
                                     
Description :

This instruction sets the blend level of a material.

Parameters :

  • ObjectID of the material.
  • Alpha level. Valid in the range [0,255].

Notes :


This instruction is only valid if the material has an alpha mode set to MATERIAL_ALPHABLEND.

Examples :