Material and Input setter.