Method RegisterMaterialForInspector
RegisterMaterialForInspector()
List all the materials that need to be displayed at the bottom of the component. All the materials gathered by this method will be used to create a Material Editor and then can be edited directly on the custom pass.
선언
public override IEnumerable<Material> RegisterMaterialForInspector()
반환
| 타입 | 설명 |
|---|---|
| IEnumerable<Material> | An enumerable of materials to show in the inspector. These materials can be null, the list is cleaned afterwards |