Partager via


DualTextureEffect.Alpha Property

Gets or sets the material alpha which determines its transparency. Range is between 1 (fully opaque) and 0 (fully transparent).

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public float Alpha { get; set; }

Property Value

The material alpha value.

See Also

Reference

DualTextureEffect Class
DualTextureEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP