setMaterial

setMaterial(int value) function

Returns or sets the type of a material. Read/write MaterialPresetType.