RenderStateManager.AlphaBlendEnable Property

Language:

Retrieves or sets a value to enable alpha-blended transparency.

Definition

Visual Basic Public Property AlphaBlendEnable As Boolean
C# public bool AlphaBlendEnable { get; set; }
C++ public:
property bool AlphaBlendEnable {
        bool get();
        void set(bool value);
}
JScript public function get AlphaBlendEnable() : boolean
public function set AlphaBlendEnable(boolean);

Property Value

System.Boolean
Set to true to enable alpha-blended transparency, or false to disable it.

This property is read/write. 

Remarks

The default value is false. The type of alpha blending is determined by the RenderStateManager.SourceBlend and RenderStateManager.DestinationBlend render states.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.