Patches may share the same material. The getter returns the material for this patch builder by reference. A change to the returned material changes the material in any patch containing the material. Patches that share the material will have the same material index returned from GetPatchMaterialIndex. To remove the material from this patch, set the material to null.