Export (0) Print
Expand All

BasicMaterialContent.Texture Property

Bb196179.note(en-us,XNAGameStudio.41).gifNote
This property is available only when developing for Windows.
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)

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

Property Value

Current diffuse texture value or the value to be set.

Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft