MaterialInstance.Material Property
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.
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