[inherited]
Sets the material of the primitive to the material pointed to by m, or if m is 0, the material is set to the default material (diffuse gray).