track .key .material .color .set  (  Red ,  Green ,  Blue ,  ColorChannel  )  
                                                    
Description :

This instruction assigns a specific material color channel to the current key.

Parameters :

  • Red component of the color. Valid in the range [0,255].
  • Green component of the color. Valid in the range [0,255].
  • Blue component of the color. Valid in the range [0,255].
  • Color channel to be set :
    MATERIAL_AMBIENTCOLOR : Ambient term of the material
    MATERIAL_DIFFUSECOLOR : Diffuse term of the material
    MATERIAL_SELFILLUMCOLOR : Emissive term of the material

Notes :


The current key gets defined with the instruction track.key.set ().

Examples :