BasicEffect.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 alpha of this effect material.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP