[getMaterial() method Returns or sets the type of a material. Read/write MaterialPresetType. Returns int]