# OnMaterialUpdate Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Common.RenderComponent.OnMaterialUpdate/ OnMaterialUpdate Invoked when the render component needs to update the target material. --- ## Declaration protected virtual void OnMaterialUpdate(Material mat) #### Summary Invoked when the render component needs to update the target material. ### Parameters | Name | Type | Summary | | --- | --- | --- | | mat | Material | - | ---