material .render .mode .set  (  MaterialObjectID ,  RenderMode  )  
                                     
Description :

This instruction sets the render mode of a material.

Parameters :

  • ObjectID of the material.
  • MATERIAL_RENDERDOTS : Dots are used to render polygons.
    MATERIAL_RENDERWIRE : Lines are used to render polygons.
    MATERIAL_RENDERSOLID : Polygons are filled.

Examples :