Dela via


SceneMeshRendererComponent.Material Property

Definition

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.

Applies to