SceneMeshRendererComponent.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.
Gets or sets the material that describes how the mesh surface is rendered.
public:
property SceneMaterial ^ Material { SceneMaterial ^ get(); void set(SceneMaterial ^ value); };
SceneMaterial Material();
void Material(SceneMaterial value);
public SceneMaterial Material { get; set; }
var sceneMaterial = sceneMeshRendererComponent.material;
sceneMeshRendererComponent.material = sceneMaterial;
Public Property Material As SceneMaterial
Property Value
The material that describes how the mesh surface is rendered.