mesh .cull .mode .set  (  MeshObjectID ,  CullMode  )  
                                     
Description :

This instruction defines the cull mode of a mesh.

Parameters :

  • ObjectID of the mesh.
  • MESH_CULLNONE : To keep all the polygons, front side and back side.
    MESH_CULLBACK (default mode). To keep only the front-facing polygons.
    MESH_CULLFRONT : To keep only the back-facing polygons.

Examples :