Change material parameter from c++

Another good reference: