編輯

共用方式為


MaterialInstance.Material Property

Definition

Returns the first instantiated Material assigned to the renderer, similar to Renderer.material.

public:
 property UnityEngine::Material ^ Material { UnityEngine::Material ^ get(); };
public UnityEngine.Material Material { get; }
member this.Material : UnityEngine.Material
Public ReadOnly Property Material As Material

Property Value

UnityEngine.Material

Applies to