Sdílet prostřednictvím


GeometryContent.Material Property

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 XP SP2, Windows Vista