Blue =  material .color .blue .get  (  MaterialObjectID ,  ColorChannel  )  
                                          
Description :

This instruction returns the blue component for the color of a specified channel of a material.

Parameters :

  • ObjectID of the material.
  • Color channel to assign:
    MATERIAL_AMBIENTCOLOR : Ambient term of the material
    MATERIAL_DIFFUSECOLOR : Diffuse term of the material
    MATERIAL_SELFILLUMCOLOR : Emissive term of the material

Return Value :

  • Blue component of the color.

Examples :