Partager via


ColorValue.Alpha Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the alpha channel value of the current color.

Definition

Visual Basic Public Property Alpha As Single
C# public float Alpha { get; set; }
C++ public:
property float Alpha {
        float get();
        void set(float value);
}
JScript public function get Alpha() : float
public function set Alpha(float);

Property Value

System.Single
A SingleLeave Site value that represents the alpha value of the current color.

This property is read/write.