共用方式為


AlphaTestMaterialContent.ReferenceAlpha Property

Note

This property is available only when developing for Windows.

Gets or sets the reference alpha value. The default value is 0.

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

Syntax

public Nullable<int> ReferenceAlpha { get; set; }

Property Value

The reference alpha value.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP