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

This instruction defines the render limit of a mesh.

Parameters :

  • ObjectID of the mesh.
  • MESH_RENDERDOTS : Only dots render mode is authorized.
    MESH_RENDERWIRE : Only wireframe and dots render modes are authorized.
    MESH_RENDERSOLID : The texture parameters are not authorized.
    MESH_RENDERTEXTURE : No limitation at all on the rendering of the mesh.

Notes :


This instruction modifies the material render mode and texture parameters according to the render limit.

Examples :