Share via


SphericalHarmonicMaterial.AbsorptionColor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the absorption coefficient used to model light propagation in a participating medium.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.ColorValue
A ColorValue object that represents the absorption coefficient.

This property is read/write. 

Remarks

The absorption coefficient is a parameter to the volume rendering equation.