Bearbeiten

Freigeben über


IMaterialInstanceOwner Interface

Definition

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.

Applies to