IMaterialInstanceOwner Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional interface to use with objects which need to take ownership of MaterialInstance(s).
public interface class IMaterialInstanceOwner
public interface IMaterialInstanceOwner
type IMaterialInstanceOwner = interface
Public Interface IMaterialInstanceOwner
- Derived
Methods
OnMaterialChanged(MaterialInstance) |
Method which is invoked by a MaterialInstance when an external material change is detected. This normally occurs when materials are changed via Renderer.material, Renderer.materials, or via the editor. |