BasicMaterialContent.Texture Property

Gets or sets the diffuse texture property.

This is a shortcut for accessing Textures[DiffuseTextureKey].

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

Syntax

public ExternalReference<TextureContent> Texture { get; set; }

Property Value

Current diffuse texture value or the value to be set.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista