material function

Get or set material properties