MaterialObjectID =  scene .material .get  (  SceneObjectID ,  MaterialName  )  
                                     
Description :

This instruction returns the ObjectID of the material currently assigned to a scene.

Parameters :

  • ObjectID of the scene.
  • Name of the material.

Return Handle :

  • ObjectID of the material if the search was successful, NULL otherwise.

Examples :