Partager via


GeometryContent.Material Property

Note

This property is available only when developing for Windows.

Gets or sets the material of the parent mesh.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public MaterialContent Material { get; set; }

Property Value

Parent mesh of the geometry batch.

See Also

Reference

GeometryContent Class
GeometryContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP